I'm using Server.HTMLEncode to encode my HTML.
I notice it dosn't escape single quotes, which is a limitation if your using single quotes in your html e.g.
<input type='text' .... />
(I've checked this is valid XHTML).
Are there any other limitations or things to note about Server.HTMLEncode, in particular any characters that are not valid XHTMl that this method dosn't deal with?