Мелкие поправки
This commit is contained in:
@@ -110,6 +110,7 @@ class BookConverter {
|
|||||||
|
|
||||||
const innerCut = new Set(['HEAD', 'SCRIPT', 'STYLE']);
|
const innerCut = new Set(['HEAD', 'SCRIPT', 'STYLE']);
|
||||||
let buf = this.decode(data).toString();
|
let buf = this.decode(data).toString();
|
||||||
|
buf = buf.replace(/ /g, ' ');
|
||||||
|
|
||||||
let i = 0;
|
let i = 0;
|
||||||
const len = buf.length;
|
const len = buf.length;
|
||||||
@@ -196,7 +197,7 @@ class BookConverter {
|
|||||||
}
|
}
|
||||||
if (l >= parIndent)
|
if (l >= parIndent)
|
||||||
newPar();
|
newPar();
|
||||||
growPar(line + ' ');
|
growPar(line.trim() + ' ');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user