Skip to content

Commit 656271b

Browse files
committed
fix skip empty lines
1 parent 1984d38 commit 656271b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/markupParser.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ export function parseMarkup(sourceUri: vscode.Uri, sourceText: string) {
5454
let tag = entry;
5555
let html_tag = false;
5656

57-
if (tag.length === 0 ) {
57+
if ((tag.length === 0 )
58+
&& (! listFlag)
59+
&& (! tableFlag)
60+
&& (! codeTagFlag)
61+
) {
5862
continue;
5963
}
6064

0 commit comments

Comments
 (0)