Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 19

6apxatCurtisOdenHotBlackericgillettetc74wykthreedx00 +12 guests

HtmLawed

htmLawed is a single-file PHP software that makes input text secure and more standard-compliant, and suitable in general from the viewpoint of a web-page administrator, for use in the body of HTML 4, or XHTML 1 or 1.1 documents. It thus is a customizable HTML/XHTML filter, processor, purifier, sanitizer, etc., like the Kses, HTMLPurifier, etc., PHP scripts. htmLawed started as a modification of Ulf Harnhammar's Kses (version 0.2.2) sofware. It still follows the Kses way, and uses some of Ulf's code. htmLawed is compatible with code that uses Kses; Essentially its a souped up version of kses, a filter used by all the WYSIWYG extensions for vanilla http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_README.htm#s1 this brings me to the same question again, Do we need a common html whitelist for all formatters or not.

Comments

  • Posts: 921
    speaking of whitelist, if you (or anyone, really) wanted to come up with a 'whitelist' appropriate for this forum of tags + allowed attributes (specific per tag), I could incorporate it into a 'use whitelist' option in the html formatter.

    ...not trying to compete with kses or anything, but I figured I might as well add a whitelist option into the html formatter.
This discussion has been closed.