New line for empty paragraphs

pull/212/head
M66B 2 years ago
parent 030f6dc5b1
commit e404da4f60

@ -1121,6 +1121,10 @@ public class HtmlHelper {
continue; continue;
} }
p.attr("x-paragraph", "true"); p.attr("x-paragraph", "true");
if (TextUtils.isEmpty(p.text())) {
p.removeAttr("x-line-before");
p.removeAttr("x-line-after");
}
} }
} }

Loading…
Cancel
Save