Posted by Chris B on 05/23/05 13:26
> Would their be some piece of code to allow me to safely and _properly_ parse
> any piece of html? where every tricks in the html books have been handled?
I think there will always be a new trick. Trying to stop someone doing
something is generally more incentive for them to try.
One thing you could try instead of stripping all html out, is simply
replacing < and > with something else, like #.
The code would still appear (obviously) but wouldn't be executable.
That is unless you don't want the html code to appear at all.. in which
case, I have no idea :)
Navigation:
[Reply to this message]
|