NovelFire: Fix Summary Bug (#1668)
This commit is contained in:
@@ -7,7 +7,7 @@ import { Plugin } from '@typings/plugin';
|
|||||||
class NovelFire implements Plugin.PluginBase {
|
class NovelFire implements Plugin.PluginBase {
|
||||||
id = 'novelfire';
|
id = 'novelfire';
|
||||||
name = 'Novel Fire';
|
name = 'Novel Fire';
|
||||||
version = '1.0.2';
|
version = '1.0.3';
|
||||||
icon = 'src/en/novelfire/icon.png';
|
icon = 'src/en/novelfire/icon.png';
|
||||||
site = 'https://novelfire.net/';
|
site = 'https://novelfire.net/';
|
||||||
|
|
||||||
@@ -174,7 +174,7 @@ class NovelFire implements Plugin.PluginBase {
|
|||||||
.toArray()
|
.toArray()
|
||||||
.join(','),
|
.join(','),
|
||||||
summary:
|
summary:
|
||||||
loadedCheerio('.summary .content .txt')
|
loadedCheerio('.summary .content')
|
||||||
.html()!
|
.html()!
|
||||||
.replace(/<\/p>/g, '\n\n')
|
.replace(/<\/p>/g, '\n\n')
|
||||||
.replace(/<br\s*\/?>/gi, '\n')
|
.replace(/<br\s*\/?>/gi, '\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user