Newline after paragraph

This commit is contained in:
M66B 2023-04-14 15:32:24 +02:00
parent d02d2d3255
commit 315bcc74ca
1 changed files with 1 additions and 1 deletions

View File

@ -1003,7 +1003,7 @@ public class HtmlHelper {
if (p[0] != null)
element.attr("x-line-before", Boolean.toString(p[0] > 0.5));
if (p[2] != null)
if (p[2] != null && !"p".equals(element.tagName()))
element.attr("x-line-after", Boolean.toString(p[2] > 0.5));
}
break;