Поправки

This commit is contained in:
Book Pauk
2019-02-24 00:32:19 +07:00
parent 9d0bbec4b3
commit 33a2ca55f0
2 changed files with 2 additions and 8 deletions

View File

@@ -366,13 +366,7 @@ export default class BookParser {
}
if (path.indexOf('/fictionbook/body/section') == 0) {
switch (tag) {
case 'p':
growParagraph(`${tOpen}${text}${tClose}`, text.length);
break;
default:
growParagraph(`${tOpen}${text}${tClose}`, text.length);
}
growParagraph(`${tOpen}${text}${tClose}`, text.length);
}
if (binaryId) {