Revert "Fixed line break after lines"

This reverts commit df3e0e132a.
pull/207/head
M66B 4 years ago
parent 1aa80a9258
commit e168a4a4f5

@ -3614,8 +3614,9 @@ public class HtmlHelper {
} }
for (Element line : doc.select("hr")) { for (Element line : doc.select("hr")) {
String style = line.attr("style"); Element next = line.nextElementSibling();
line.attr("style", mergeStyles(style, "display:inline;")); if (next != null && "br".equals(next.tagName()))
next.remove();
} }
return doc.html(); return doc.html();

Loading…
Cancel
Save