GetSafeHTMLFragment and the quote

Nov 16, 2011 at 5:42 PM

WPL.Sanitizer.GetSafeHtmlFragment(row["StatusComments"].ToString()) translates " (double quote) to "

I'm not sure why GetSafeHTMLFragment, for a string value containing double quotes, would return the HTML escape ". It appears to be encoding but that is not what I understood this method does. Is this by design or am I doing something incorrectly? I'm using 4.0.

Thanks

Paul