mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Normalize html line breaks
This commit is contained in:
@@ -152,7 +152,7 @@ public class HtmlHelper {
|
||||
|
||||
// Pre formatted text
|
||||
for (Element code : document.select("pre")) {
|
||||
code.html(code.html().replaceAll("\\r?\\n", "<br />"));
|
||||
code.html(code.html().replaceAll("\\r?\\n", "<br>"));
|
||||
code.tagName("div");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user