Skip to content

Commit f434df5

Browse files
gossisamselikoff
authored andcommitted
enable <AngleBracketComponents> inside markdown
1 parent f2732d9 commit f434df5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/utils/compile-markdown.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ function compactParagraphs(tokens) {
4747
}
4848

4949
balance += count(/\{\{#/g, token.text);
50+
balance += count(/<[A-Z]/g, token.text);
5051
balance -= count(/\{\{\//g, token.text);
52+
balance -= count(/<\/[A-Z]/g, token.text);
5153
}
5254

5355
return compacted;

0 commit comments

Comments
 (0)