Исправление проблемы чтения каталога opds для koreader

This commit is contained in:
Book Pauk
2023-02-05 17:35:24 +07:00
parent 018e1069d5
commit 9126973378
3 changed files with 9 additions and 7 deletions

View File

@@ -1,6 +1,5 @@
const path = require('path');
const _ = require('lodash');
const he = require('he');
const dayjs = require('dayjs');
const BasePage = require('./BasePage');
@@ -190,7 +189,7 @@ class BookPage extends BasePage {
if (content) {
e.content = {
'*ATTRS': {type: 'text/html'},
'*TEXT': he.escape(content),
'*TEXT': this.escape(content),
};
}