Heyho! Just coding up a very simple Forum/Blog system as tg2 exercise (I plan to releasee the code once it's reached some basic usable form.)
I want to allow HTML content. I'm sure there already is code for allowing
restricted HTML subset - pointers very welcome.
I plan to allow just <p>, <b>, <a href=""> (with safe links...), <i>.
Perhaps <blockquote>.
Of course I can just iterate through an ElementTree, but since this
certainly has already been done, some kind of warpper for this would be
neat. Bonus points for having a fault tolerant parser that just reformats
input to correct html (perhaps even disallow nested <p> and close <p>'s
instead of complaining when users nest them?)
cheers
-- vbi
--
Nichts ist so sehr für die gute alte Zeit verantwortlich wie das
schlechte Gedächtnis.
-- Anatole France
signature.asc
Description: This is a digitally signed message part.

