-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outlook does not support rgba #96
Comments
I think we can support it. But it would require some efforts. My question is: Is this really an issue in AngleSharp or rather in AngleSharp.Css? Because AngleSharp itself does not know anything about CSSOM such as colors. |
Hi, Many thanks for getting back to me so quickly. Yes, sorry about that, I didn't realise there were separate repositories - it is in AngleSharp.Css. Shall I create a new issue in that repo and close the one here? Best regards, Steve |
Transferred! |
Part of the next preview (incoming) via the |
The |
This seems to keep the color format fixed. Is there a way to detect the color format when parsing the style? So hex stays hex and the same for rgb/a after a |
I think right now there is no such way. |
I'm currently using HTMLSanitizer which in turn uses AngleSharp. We are trying to sanitize code for use in emails but AngleSharp is converting the folllowing:
<p style="background-color:#bbbbbb">
or:
<p style="background-color: rgb(187, 187, 187)">
into:
<p style="background-color: rgba(187, 187, 187, 1)
The problem is that Outlook (for whatever reason) still does not support rgba.
Could you please tell me if there is a way for me to tell AngleSharp to stop converting to rgba? If not, would you consider (if possible) providing a mechanism to support this?
Best regards,
Steve
The text was updated successfully, but these errors were encountered: