From dc48700e9ebe5cb822a87fd6d1b52f4ead8c76f4 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Thu, 24 Dec 2020 21:35:31 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B0=D1=8F=20=D0=BF=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Reader/share/BookParser.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/components/Reader/share/BookParser.js b/client/components/Reader/share/BookParser.js index 9b4565d9..8ddb9502 100644 --- a/client/components/Reader/share/BookParser.js +++ b/client/components/Reader/share/BookParser.js @@ -393,6 +393,7 @@ export default class BookParser { if (tag == 'text-author') { newParagraph(); + bold = true; space += 1; } } @@ -443,7 +444,9 @@ export default class BookParser { } if (tag == 'text-author') { + bold = false; space -= 1; + newParagraph(); } }