Markdig.SyntaxHighlighting
Markdig.SyntaxHighlighting copied to clipboard
Unsupported language cause html in code blocks to be rendered as html, not text
For example, the following markdown snippet will render an actual button, instead of the html as text:

Unsupported languages should at least attempt to escape html.
this is a breaking issue for me so I ended up using a custom solution using Prism.js to handle syntax highlighting. Please fix in the future.