HtmlSanitizer
HtmlSanitizer copied to clipboard
CSS styles stripping rgb when capitalized
I wasn't sure if this is an issue with the sanitizer or with AngleSharp, but since I'm experiencing it via your library, I figured it would be better to open this here. If you have an inline style on a node with an RGB or(RGBA) color defined, and RGB or RGBA are capitalized, the style is stripped.
For an example, see here: https://dotnetfiddle.net/Mbf1RY
This is indeed an issue within AngleSharp.CSS. I've reported it here: https://github.com/AngleSharp/AngleSharp.Css/issues/109
This has been fixed in AngleSharp.Css 0.17.0.