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:
parent
71851ba6b5
commit
4235b67340
1 changed files with 0 additions and 8 deletions
|
@ -4215,14 +4215,6 @@ public class HtmlHelper {
|
||||||
.attr("name", "viewport")
|
.attr("name", "viewport")
|
||||||
.attr("content", "width=device-width, initial-scale=1.0");
|
.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")) {
|
for (Element span : doc.select("span")) {
|
||||||
if (span.attr("dir").equals("rtl")) {
|
if (span.attr("dir").equals("rtl")) {
|
||||||
Element next = span.nextElementSibling();
|
Element next = span.nextElementSibling();
|
||||||
|
|
Loading…
Reference in a new issue