4 ms·
Has there been any effort to create a standard subset of HTML that is safe for email? Seems like a problem worth solving once for everybody.
by m_eiman 13y ago
Has there been any effort to create a standard subset of HTML that is safe for email? Seems like a problem worth solving once for everybody.
- dmbaggett 13y agoNot that I know of, and in fact real-live HTML emails often contain complete gibberish (made-up tags, etc.) that doesn't even validate; we have a bunch of fix-up rules for this stuff. CSS is a complicating factor as well: some CSS is unsafe and must be stripped, which requires a real (error-tolerant) CSS parser to go along with your real HTML parser. And identifying remote images: you'd think that was easy right? But do you know how many ways there are to reference a .png image in HTML and CSS? At one point Facebook emails were even hiding web bugs in BGSOUND tags -- sneaky!
- m_eiman 13y agoHuh. I would think that the only ones benefiting from the current state of affairs are scammers and spammers, strange that the big players haven't gotten together and done something about it.
- BrianEatWorld 13y agoWhen I got dropped into crafting newsletters, I made the mistake of not looking into what different clients support only to find that my beautiful CSS buttons and the majority of the formatting was completely useless. I agree a standard set of HTML and CSS for email would be a huge benefit. It was only afterwards that I started noticing most beautiful emails are just sliced images displayed within tables. Thats right, tables.