GeraldWodni / forth-standard.org

Official website of the Forth 2012 Standard, and the Forth200x committee.
9 stars 3 forks source link

Bug: wrong escaping HTML in Markdown code blocks #54

Open ruv opened 10 months ago

ruv commented 10 months ago

Escaping of HTML tags like \< or &lt; must not be used in Markdown code blocks (and inline code blocks), because in these blocks escaping does not work, and along with angle brackets it is interpreted literally.

At the moment, the function saneMarked, which does escaping, is applied to all markdown text. It's wrong.