Browse Source

К предыдущему

Book Pauk 6 năm trước cách đây
mục cha
commit
e99a42b7af
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      client/components/Reader/TextPage/DrawHelper.js

+ 1 - 1
client/components/Reader/TextPage/DrawHelper.js

@@ -91,7 +91,7 @@ export default class DrawHelper {
                 } else
                     text = part.text;
 
-                if (text.trim() == '')
+                if (text && text.trim() == '')
                     text = `<span style="white-space: pre">${text}</span>`;
 
                 lineText += `${tOpen}${text}${tClose}`;