Michael Ganss

Results 275 comments of Michael Ganss

I can't repro. What does the call stack look like in the NullReferenceException?

Which versions of AngleSharp, AngleSharp.Css are you using?

I think what @tiesont meant was what does the code look like that calls `HtmlHelper.SanitizeHtml()`?

Could you create a console app using the same .NET version and HtmlSanitizer NuGet package version and create a minimal example that shows the issue? Or possibly change the fiddle...

Both single quotes and `"` work fine as I can tell. Also, no quotes at all works fine. Double quotes are parsed as closing the style attribute so the following...

Try substituting the `Aln` class name for something else using the `--tns` option. See https://github.com/mganss/XmlSchemaClassGenerator?tab=readme-ov-file#substituting-generated-c-type-and-member-names

There is no specific support that would create code to enforce the attribute presence/absence. But I think the classes with properties for the attributes should be generated regardless. You would...

I'm getting `element is not supported in this context` in Visual Studio's XML Schema editor. This is also the message in the exception that occurs when parsing the schema in...

There is currently no support for this. PRs welcome 😄

Do you expect the `DefaultValueAttribute` not to be generated?