Removed illustration pre-processing(#1144)

This commit is contained in:
Rider21
2024-08-18 13:52:14 +03:00
committed by GitHub
parent 7e98a91ef6
commit eb5522b066
7 changed files with 3 additions and 46 deletions
+1 -4
View File
@@ -131,10 +131,7 @@ class RNBH implements Plugin.PluginBase {
const chapterText = body
.substring(indexA, indexB)
.replace(
/<img data-media-id="(.*?)".*?>/g,
`<img src="${this.site}/api/media/$1">`,
);
.replace(/<img data-media-id="(.*?)".*?>/g, '<img src="/api/media/$1">');
return chapterText;
}