Поправка
This commit is contained in:
@@ -136,6 +136,8 @@ export default class BookParser {
|
||||
|
||||
const onTextNode = (text) => {// eslint-disable-line no-unused-vars
|
||||
text = he.decode(text);
|
||||
text = text.replace(/>/g, '>');
|
||||
text = text.replace(/</g, '<');
|
||||
text = text.replace(/[\t\n\r]/g, ' ');
|
||||
|
||||
if (text != ' ' && text.trim() == '')
|
||||
|
||||
Reference in New Issue
Block a user