diff --git a/client/components/Reader/share/BookParser.js b/client/components/Reader/share/BookParser.js index c7fbc5f9..8dec76b3 100644 --- a/client/components/Reader/share/BookParser.js +++ b/client/components/Reader/share/BookParser.js @@ -369,11 +369,10 @@ export default class BookParser { tClose += (bold ? '' : ''); tClose += (center ? '' : ''); - if (path.indexOf('/fictionbook/body/title') == 0) { - growParagraph(`${tOpen}${text}${tClose}`, text.length); - } - - if (path.indexOf('/fictionbook/body/section') == 0) { + if (path.indexOf('/fictionbook/body/title') == 0 || + path.indexOf('/fictionbook/body/section') == 0 || + path.indexOf('/fictionbook/body/epigraph') == 0 + ) { growParagraph(`${tOpen}${text}${tClose}`, text.length); }