mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Fixed preformatted text
This commit is contained in:
@@ -697,10 +697,11 @@ public class HtmlHelper {
|
||||
|
||||
// Pre formatted text
|
||||
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre
|
||||
for (Element pre : document.select("pre")) {
|
||||
pre.html(formatPre(pre.wholeText()));
|
||||
pre.tagName("div");
|
||||
}
|
||||
if (!view)
|
||||
for (Element pre : document.select("pre")) {
|
||||
pre.html(formatPre(pre.wholeText()));
|
||||
pre.tagName("div");
|
||||
}
|
||||
|
||||
// Code
|
||||
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code
|
||||
|
||||
Reference in New Issue
Block a user