Skip to content

Commit 787cdcd

Browse files
Merge pull request #1798 from IgniteUI/mt/cleanup-markup
cleanup-markup
2 parents 324d0d7 + 0c6531b commit 787cdcd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ext/MarkdownTransformer.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1814,7 +1814,9 @@ export class MarkdownTransformer {
18141814
return;
18151815
}
18161816

1817-
output.push({ content: vfile.toString(), componentOutput: componentOutput });
1817+
// cleanup markup for unordered lists: "* " -> "- "
1818+
let fileContent = vfile.toString().split("* ").join("- ").split("* ").join("- ");
1819+
output.push({ content: fileContent, componentOutput: componentOutput });
18181820

18191821
if (iteration == runFor.length - 1) {
18201822
callback(null, output);

0 commit comments

Comments
 (0)