Skip to content

Commit 579c7c6

Browse files
committed
fix(minor): keep spacing b/w nodes
1 parent b384d4e commit 579c7c6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib/Parser.tsx

-4
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,6 @@ class Parser {
172172
}
173173
case 'text':
174174
case 'html': {
175-
if (token.raw.trim().length < 1) {
176-
return null;
177-
}
178-
179175
return this.renderer.getTextNode(decode(token.raw), {
180176
...this.styles.text,
181177
...styles,

0 commit comments

Comments
 (0)