Open hteumeuleu opened 5 years ago
It's happening in Gmail Android app too
It seems like this was a temporary issue. Is anyone still seeing this?
I'm still seeing this right now in the desktop webmail of Gmail (testing the code from the first post). What makes you say this was temporary?
~I just tested an email that I recently coded and it's working fine in the desktop version of gmail for me. The style tag gets rewritten to add additional classes that gmail presumably wraps the body in, but the styles still apply just fine.~
OK, my mistake, I was confusing this with the "open in new window" link. The "view entire message" link seems to open a view very similar to the one when you click the print icon for the email, which does indeed strip style tags (as does the print view).
In the desktop webmail of Gmail, when an email is clipped, a "View entire message" link is displayed below the content. (See #41 for a discussion about Gmail clipping.) Clicking that link opens a new window with the entire message. But
<style>
tags are now removed from this view.Here's an example message getting clipped in the standard message view.
And here's the same message in the "View entire message" view.
Here's the code from that email:
As far as I know, things have always worked like this in Gmail's desktop webmail. This bug has been brought up in Slack today so I documented it for future references.