ReadNovelFull: Return HTML when parsing the chapter (#1146)
* Parsing the chapter returns actual HTML instead of text * Increment version of the plugin
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
{
|
||||
"id": "readnovelfull",
|
||||
"sourceSite": "https://readnovelfull.com",
|
||||
"sourceName": "ReadNovelFull"
|
||||
"sourceName": "ReadNovelFull",
|
||||
"options": {
|
||||
"versionIncrements": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -159,7 +159,7 @@ class ReadNovelFullPlugin implements Plugin.PluginBase {
|
||||
async parseChapter(chapterPath: string): Promise<string> {
|
||||
const $ = await this.getCheerio(this.site + chapterPath, false);
|
||||
|
||||
return $('#chr-content').text();
|
||||
return $('#chr-content').html();
|
||||
}
|
||||
|
||||
async searchNovels(
|
||||
|
||||
Reference in New Issue
Block a user