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