diff --git a/client/components/Reader/share/BookParser.js b/client/components/Reader/share/BookParser.js index 724e029c..733c4eb1 100644 --- a/client/components/Reader/share/BookParser.js +++ b/client/components/Reader/share/BookParser.js @@ -188,7 +188,7 @@ export default class BookParser { if (attrs.href && attrs.href.value) { const href = attrs.href.value; if (href[0] == '#') {//local - if (inPara && !this.showInlineImagesInCenter) + if (inPara && !this.showInlineImagesInCenter && !center) growParagraph(``, 0); else newParagraph(`${' '.repeat(maxImageLineCount)}`, maxImageLineCount);