I am using the Microsoft anti xss library and I noticed that for some reason it is removing the <ul>
tag. I can't figure out why. For instance:
string html = @"<ul><li>this is a test </li></ul>";
string sanitized = Sanitizer.GetSafeHtmlFragment(html);
This is returning:
\r\n<li>this is a test </li>
Any ideas?
This is a bug. Users who would like to use one of the older versions can acquire them here
@Ray Cheng, cheers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With