In Reply to: Change them, but to posted by James L on March 30, 2004 at 22:09:12:
and I can't imagine why. It can only cause problems. If someone explicitly enters the special character codes "& l t ;" and "& g t ;" (minuse the spaces, of course), why substitue angle brackets? Unless that's an unintended consequence of using some library or other in your code.Substituting the special character codes, on the other hand, is a good way to keep HTML from being entered where you don't want it. And like I tried to say in the last post, it still displays correctly in input and textarea form elements.
This post is made possible by the generous support of people like you and our sponsors:
Follow Ups
- You seem to be doing exactly the opposite - James L 22:14:48 03/30/04 (1)
- Re: You seem to be doing exactly the opposite - Rod M 22:33:17 04/01/04 (1)