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:
César Pinheiro
2024-08-17 17:22:44 +02:00
committed by GitHub
parent 0bec28790e
commit 7e98a91ef6
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -2,6 +2,9 @@
{ {
"id": "readnovelfull", "id": "readnovelfull",
"sourceSite": "https://readnovelfull.com", "sourceSite": "https://readnovelfull.com",
"sourceName": "ReadNovelFull" "sourceName": "ReadNovelFull",
"options": {
"versionIncrements": 1
}
} }
] ]
+1 -1
View File
@@ -159,7 +159,7 @@ class ReadNovelFullPlugin implements Plugin.PluginBase {
async parseChapter(chapterPath: string): Promise<string> { async parseChapter(chapterPath: string): Promise<string> {
const $ = await this.getCheerio(this.site + chapterPath, false); const $ = await this.getCheerio(this.site + chapterPath, false);
return $('#chr-content').text(); return $('#chr-content').html();
} }
async searchNovels( async searchNovels(