Blockquote margins

This commit is contained in:
M66B 2020-11-20 15:31:27 +01:00
parent 9cc605342f
commit 1bdea56b9c
1 changed files with 2 additions and 2 deletions

View File

@ -954,7 +954,7 @@ public class HtmlHelper {
document.select("tr,th,td").tagName("div");
// Lists
for (Element e : document.select("ol,ul")) {
for (Element e : document.select("ol,ul,blockquote")) {
if (view) {
if (!"false".equals(e.attr("x-line-before")))
e.attr("x-line-before", "true");
@ -963,7 +963,7 @@ public class HtmlHelper {
} else {
String style = e.attr("style");
e.attr("style",
mergeStyles(style, "margin:0"));
mergeStyles(style, "margin-top:0;margin-bottom:0"));
}
}