1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 21:24:34 +00:00

Revert "Outlook 'compatible' highlight (2)"

This reverts commit 99b616f383.
This commit is contained in:
M66B 2024-10-30 22:02:44 +01:00
parent 71851ba6b5
commit 4235b67340

View file

@ -4215,14 +4215,6 @@ public class HtmlHelper {
.attr("name", "viewport")
.attr("content", "width=device-width, initial-scale=1.0");
// https://stackoverflow.design/email/base/mso/
if (!doc.body().select("mark").isEmpty())
doc.head().append("<!--[if mso]>\n" +
" <style>\n" +
" mark { background:yellow; mso-highlight:yellow; }\n" +
" </style>\n" +
"<![endif]-->\n");
for (Element span : doc.select("span")) {
if (span.attr("dir").equals("rtl")) {
Element next = span.nextElementSibling();