mirror of https://github.com/M66B/FairEmail.git
Fixed extra new lines sub lists
This commit is contained in:
parent
89d02c604d
commit
b1e0a9c365
|
@ -1272,7 +1272,9 @@ public class HtmlHelper {
|
|||
if (view) {
|
||||
Element parent = e.parent();
|
||||
if ("blockquote".equals(e.tagName()) || parent == null ||
|
||||
!("ol".equals(parent.tagName()) || "ul".equals(parent.tagName()))) {
|
||||
!("li".equals(parent.tagName()) ||
|
||||
"ol".equals(parent.tagName()) ||
|
||||
"ul".equals(parent.tagName()))) {
|
||||
if (!"false".equals(e.attr("x-line-before")))
|
||||
e.attr("x-line-before", "true");
|
||||
if (!"false".equals(e.attr("x-line-after")))
|
||||
|
|
Loading…
Reference in New Issue