29 June 2005 21:15
Simon Willison: Safe HTML checker
by 1 otherThe system I have implemented works by running submitted posts through an XML parser, which checks that each element is in my list of allowed elements, is nested correctly (you can't put a blockquote inside a p for example) and doesn't have any illegal attributes.
1
(1 marks)