As a web developer, I’m familiar with escaping the characters &, <, and > in my interactive pages.
Is there a definitive list of characters that need to be escaped when displaying user input in HTML?
To be specific, if I have a web application that displays a string of text that was input by another user, what characters need to be escaped?
For the basic characters, you might want to include
'and"as well in addition to<,>ans&.However note that depending on the encoding of the page you may or may not have to escape other characters,
éfor instance.