Simple HTML sanitizer in Javascript [closed]
We’ve developed a simple HtmlSantizer and opensourced it here: https://github.com/jitbit/HtmlSanitizer Usage var result = HtmlSanitizer.SanitizeHtml(input); [Disclaimer! I’m one of the authors!]
We’ve developed a simple HtmlSantizer and opensourced it here: https://github.com/jitbit/HtmlSanitizer Usage var result = HtmlSanitizer.SanitizeHtml(input); [Disclaimer! I’m one of the authors!]
In the end, after looking around a bit more for a ready-made editor, I settled on the OpenLibrary WMD port, located at http://github.com/openlibrary/wmd. The reasons I chose this editor Meets most of my requirements. Looks like Stack Overflow’s editor. There are a few behavioral differences (see below). Is built on top of jQuery (and doesn’t … Read more