Normalize html line breaks

This commit is contained in:
M66B
2019-08-22 18:12:30 +02:00
parent 69fbc51b8e
commit 081d25940a
7 changed files with 9 additions and 9 deletions

View File

@@ -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");
}