Unsupported language cause html in code blocks to be rendered as html, not text

#16 · open · 1 comments

View on GitHub ↗

mrjones2014

For example, the following markdown snippet will render an actual button, instead of the html as text: ![image](https://user-images.githubusercontent.com/8648891/73074325-5d987100-3e87-11ea-9a85-676feefbcb6e.png) Unsupported languages should at least attempt to escape html.

Comments

mrjones2014

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.