瀏覽代碼

Небольшая поправка

Book Pauk 4 年之前
父節點
當前提交
dc48700e9e
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      client/components/Reader/share/BookParser.js

+ 3 - 0
client/components/Reader/share/BookParser.js

@@ -393,6 +393,7 @@ export default class BookParser {
 
 
                 if (tag == 'text-author') {
                 if (tag == 'text-author') {
                     newParagraph();
                     newParagraph();
+                    bold = true;
                     space += 1;
                     space += 1;
                 }
                 }
             }
             }
@@ -443,7 +444,9 @@ export default class BookParser {
                     }
                     }
 
 
                     if (tag == 'text-author') {
                     if (tag == 'text-author') {
+                        bold = false;
                         space -= 1;
                         space -= 1;
+                        newParagraph();
                     }
                     }
                 }
                 }