Revert "Fixed line break after lines"

This reverts commit df3e0e132a.
This commit is contained in:
M66B 2022-03-27 14:35:12 +02:00
parent 1aa80a9258
commit e168a4a4f5
1 changed files with 3 additions and 2 deletions

View File

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