ASP.NET Server.HtmlEncode Limitations
<p>I'm using Server.HTMLEncode to encode my HTML.</p>

<p>I notice it dosn't escape single quotes, which is a limitation if your using single quotes in your html e.g. 
<code>&lt;input type='text' .... /&gt;</code> </p>

<p>(I've checked this is valid XHTML).</p>

<p>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?</p>
