The HTML generated by MarkdownEditor 1.12.253 when using inline code containing matching braces within a heading is not the same as the Markdig HTML output and appears to be incorrect in general.
Steps to reproduce
Create an .md file in Visual Studio that has a heading with inline code that contains matching braces. For example:
Description
The HTML generated by MarkdownEditor 1.12.253 when using inline code containing matching braces within a heading is not the same as the Markdig HTML output and appears to be incorrect in general.
Steps to reproduce
Expected behavior: HTML should be like:
Actual behavior: HTML is like:
Notice
baz
has been moved into the heading tag.Observations: This occurs for all heading levels (1 through 5). Compare with Markdig output here: https://babelmark.github.io/?text=%23%23%23+%60GET+%2Ffoo%2Fbar%2F%7Bbaz%7D%60. I tried a few ideas but was unable to determine a workaround.