Поправки форматирования fb2
This commit is contained in:
@@ -263,13 +263,13 @@ class BookConverter {
|
||||
};
|
||||
|
||||
const growParagraph = (text) => {
|
||||
if (!node._p)
|
||||
openTag('p');
|
||||
if (node._n == 'p' && node._a.length == 0)
|
||||
text = text.trimLeft();
|
||||
node._a.push({_t: text});
|
||||
};
|
||||
|
||||
openTag('p');
|
||||
|
||||
const onStartNode = (elemName, tail, singleTag, cutCounter, cutTag) => {// eslint-disable-line no-unused-vars
|
||||
if (elemName == '')
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user