mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Newline below heading
This commit is contained in:
parent
fb03a1da12
commit
acb89f8611
1 changed files with 4 additions and 2 deletions
|
@ -758,12 +758,14 @@ public class HtmlHelper {
|
|||
}
|
||||
|
||||
// Replace headings
|
||||
if (!text_size)
|
||||
for (Element h : document.select("h1,h2,h3,h4,h5,h6")) {
|
||||
for (Element h : document.select("h1,h2,h3,h4,h5,h6")) {
|
||||
if (!"false".equals(h.attr("x-line-after")))
|
||||
h.appendElement("br");
|
||||
if (!text_size) {
|
||||
h.appendElement("br");
|
||||
h.tagName("strong");
|
||||
}
|
||||
}
|
||||
|
||||
// Paragraphs
|
||||
for (Element p : document.select("p")) {
|
||||
|
|
Loading…
Reference in a new issue