Мелкие поправки

This commit is contained in:
Book Pauk
2019-01-23 14:06:58 +07:00
parent 09f11d330f
commit 6979a72234

View File

@@ -110,6 +110,7 @@ class BookConverter {
const innerCut = new Set(['HEAD', 'SCRIPT', 'STYLE']);
let buf = this.decode(data).toString();
buf = buf.replace(/ /g, ' ');
let i = 0;
const len = buf.length;
@@ -196,7 +197,7 @@ class BookConverter {
}
if (l >= parIndent)
newPar();
growPar(line + ' ');
growPar(line.trim() + ' ');
}
}