Blockquote margins

pull/189/head
M66B 4 years ago
parent 9cc605342f
commit 1bdea56b9c

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

Loading…
Cancel
Save