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

This commit is contained in:
Book Pauk
2019-03-16 16:40:31 +07:00
parent e800dfe796
commit 983d9ee1b9
3 changed files with 9 additions and 0 deletions

View File

@@ -218,6 +218,8 @@ class ConvertSamlib extends ConvertBase {
if (!text)
return;
text = this.escapeEntities(text);
switch (path) {
case '/html/body/center/h2':
titleInfo['book-title'] = text;