godgetfun / pagedown

Automatically exported from code.google.com/p/pagedown
Other
0 stars 0 forks source link

Error in documentation, there is a bracket missing #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Fairly simple.
Looking at the in-browser example for the Markdown.Sanitizer.js...

document.write(converter.makeHtml("<script>alert(42);</script><b>bold"); // 
creates "alert(42);bold"

you can find that there is only one closing bracket before the ;

Original issue reported on code.google.com by Michael....@gmail.com on 25 Sep 2012 at 8:09