Closed Snaptags closed 4 years ago
Describe the bug If I have HTML tags in code blocks marked by three backticks ``` they do not show up in the rendered result. The renderer adds additional closing tags for them instead.
To Reproduce Steps to reproduce the behavior:
create a md file containing
Code: ``` ` describe("Basic tests", () => { it("Renders the current count", () => { render(<Basic />); screen.debug(); }); }); ``` `
Remove the extra backtick leaving only three of them to indicate a code block
Run :MarkdownPreview
See error: and note the weird extra-closing tag added:
Expected behavior Render unmodified code:
Desktop (please complete the following information):
Log:
Works in the online version of your formatter: https://markdown-it.github.io/ Probably a bug already fixed in a newer version?
Thanks a lot for fixing this so quickly, I really appreciate that.
Describe the bug If I have HTML tags in code blocks marked by three backticks ``` they do not show up in the rendered result. The renderer adds additional closing tags for them instead.
To Reproduce Steps to reproduce the behavior:
create a md file containing
Remove the extra backtick leaving only three of them to indicate a code block
Run :MarkdownPreview
See error: and note the weird extra-closing tag added:
Expected behavior Render unmodified code:
Desktop (please complete the following information):
Log: