Улучшение парсинга html

This commit is contained in:
Book Pauk
2019-11-13 19:41:20 +07:00
parent e97774435b
commit b268e9ee74
2 changed files with 4 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ class ConvertBase {
}
escapeEntities(text) {
return he.escape(he.decode(text));
return he.escape(he.decode(text.replace(/ /g, ' ')));
}
formatFb2(fb2) {