NovelFire: Fix Summary Bug (#1668)

This commit is contained in:
Rojikku
2025-05-04 01:01:49 -04:00
committed by GitHub
parent ccf25ee2d1
commit 92ece61a4a
+2 -2
View File
@@ -7,7 +7,7 @@ import { Plugin } from '@typings/plugin';
class NovelFire implements Plugin.PluginBase {
id = 'novelfire';
name = 'Novel Fire';
version = '1.0.2';
version = '1.0.3';
icon = 'src/en/novelfire/icon.png';
site = 'https://novelfire.net/';
@@ -174,7 +174,7 @@ class NovelFire implements Plugin.PluginBase {
.toArray()
.join(','),
summary:
loadedCheerio('.summary .content .txt')
loadedCheerio('.summary .content')
.html()!
.replace(/<\/p>/g, '\n\n')
.replace(/<br\s*\/?>/gi, '\n')