[wp-hackers] HTML Purifier

Edward Z. Yang edwardzyang at thewritingpot.com
Wed Feb 14 18:15:44 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alex King wrote:
> Perhaps you could create a plugin to do this, as a proof-of-concept, and
> we can all see how it actually works.

Making skins well-formed is the responsibility of the skin author, not
an HTML filter. As for a plugin for blog posts, see:

http://comox.textdrive.com/pipermail/wp-hackers/2007-February/010664.html

Once again, I'm soliciting comments: I want to know that it works
reasonably well and plays with other plugins before I package it into
the HTML Purifier plugins/ directory.

HTML Purifier could be similarly applied to blog comments and other HTML
content, but the plugin doesn't do that yet. It would also be really
nice if the original HTML was preserved, and the purified HTML was
cached in the filtered column, but I don't know how to do that either.
Plus it might collide with the Preformatted plugin.

- --
 Edward Z. Yang      Personal: edwardzyang at thewritingpot.com
 SN:Ambush Commander Website: http://www.thewritingpot.com/
 GPGKey:0x869C48DA   http://www.thewritingpot.com/gpgpubkey.asc
 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF01HQqTO+fYacSNoRAvuLAJ0S1Pm3JScAd1C3Id8zgBSDDyApLwCfavkY
vdohNV+07dyZbWPZJxQGMR0=
=pH4+
-----END PGP SIGNATURE-----


More information about the wp-hackers mailing list