fix: Adjust Summary Spacing in Novel Fire (#2077)
This commit is contained in:
@@ -9,7 +9,7 @@ import { storage } from '@libs/storage';
|
|||||||
class NovelFire implements Plugin.PluginBase {
|
class NovelFire implements Plugin.PluginBase {
|
||||||
id = 'novelfire';
|
id = 'novelfire';
|
||||||
name = 'Novel Fire';
|
name = 'Novel Fire';
|
||||||
version = '1.1.7';
|
version = '1.1.8';
|
||||||
icon = 'src/en/novelfire/icon.png';
|
icon = 'src/en/novelfire/icon.png';
|
||||||
site = 'https://novelfire.net/';
|
site = 'https://novelfire.net/';
|
||||||
|
|
||||||
@@ -244,7 +244,12 @@ class NovelFire implements Plugin.PluginBase {
|
|||||||
.toArray()
|
.toArray()
|
||||||
.join(',');
|
.join(',');
|
||||||
|
|
||||||
let summary = $('.summary .content').text().trim();
|
let summary = $('.summary .content')
|
||||||
|
.find('br')
|
||||||
|
.replaceWith('\n')
|
||||||
|
.end()
|
||||||
|
.text()
|
||||||
|
.trim();
|
||||||
|
|
||||||
if (summary) {
|
if (summary) {
|
||||||
summary = summary.replace('Show More', '');
|
summary = summary.replace('Show More', '');
|
||||||
|
|||||||
Reference in New Issue
Block a user