Michael Ganss

Results 275 comments of Michael Ganss

Sorry, I should have been more clear. By configuration I mean how have you initialized the `HtmlSanitizer` object, which elements have you allowed in `AllowedTags` etc.

I can't reproduce. AFAICT you are using HtmlSanitizer in the default configuration (default allowed tags, attributes etc). In that configuration, the `script` tag is disallowed and should be removed (including...

It seems AngleSharp.Css does not support newer values for list-style-type. I have reported here: https://github.com/AngleSharp/AngleSharp.Css/issues/152

I can't reproduce the issue. Can you try and add a code snippet here that shows the issue? This is what I tried: ```c# var html = @"this is the...

OK thanks, I can repro now. This occurs because the parsed style is empty in AngleSharp's CSSOM. Strangely, it does not occur if the style's value is `text-align: left` for...

I have reported as https://github.com/AngleSharp/AngleSharp.Css/issues/151

The `start` value for `text-align` is not yet supported by AngleSharp.Css.

@tiesont You're right. This scenario used to work before AngleSharp 0.10, see https://github.com/AngleSharp/AngleSharp.Css/issues/151#issuecomment-1823222961 @florianculie My hope is that the next release of AngleSharp.Css will be 1.0 which would mean you...

AFAICT this use case is already possible as discussed in #287. @ImrePyhvel Do you think there currently is potential for malicious markup to slip through in the default configuration? Do...

HtmlSanitizer is only intended to sanitize HTML. When a fragment is passed to the `Sanitize()` method, it is wrapped in a body before it is parsed by AngleSharp's HTML parser....