Skip to content
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

T-Online removes the entire style attribute when using table-layout:fixed #109

Open
hteumeuleu opened this issue Feb 16, 2022 · 1 comment
Labels
Other clients Samsung, SFR, Orange, T-Online, Onet, …

Comments

@hteumeuleu
Copy link
Owner

The desktop webmail of T-Online.de removes the entire style attribute of an element when using table-layout:fixed. Other values like table-layout:auto or table-layout:inherit don’t trigger this bug.

The following code (sent with Putsmail):

<table bgcolor="red" style="margin:0 auto; width:100%; background:green;"><tr><td>A</td></tr></table>
<table bgcolor="red" border="0" style="margin:0 auto; width:100%; background:green; table-layout:auto;"><tr><td>B</td></tr></table>
<table bgcolor="red" border="0" style="margin:0 auto; width:100%; background:green; table-layout:fixed;"><tr><td>C</td></tr></table>

… is transformed into:

<table style="margin:0 auto; width:100%; background:green;" bgcolor="red"><tbody><tr><td>A</td></tr></tbody></table>
<table style="margin:0 auto; width:100%; background:green; table-layout:auto;" border="0" bgcolor="red"><tbody><tr><td>B</td></tr></tbody></table>
<table border="0" bgcolor="red"><tbody><tr><td>C</td></tr></tbody></table>
@hteumeuleu hteumeuleu added the Other clients Samsung, SFR, Orange, T-Online, Onet, … label Feb 16, 2022
@SpecOps12
Copy link

I experience a similar issue: t-online strips out my complete inline style from a span element, but it is not impressed, when I set the table-layout to any value. It also strips out the style of the table completely.
Other inline styles are left untouched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Other clients Samsung, SFR, Orange, T-Online, Onet, …
Projects
None yet
Development

No branches or pull requests

2 participants