Small improvement

pull/189/head
M66B 4 years ago
parent 550a6da315
commit 9a8bdf9d9c

@ -924,13 +924,14 @@ public class HtmlHelper {
if (TextUtils.isEmpty(align) || if (TextUtils.isEmpty(align) ||
"left".equals(align) || "left".equals(align) ||
"start".equals(align)) "start".equals(align))
col.tagName("div").removeAttr("x-block"); col.removeAttr("x-block");
else { else {
if ("true".equals(col.attr("x-line-before"))) if ("true".equals(col.attr("x-line-before")))
col.removeAttr("x-line-before"); col.removeAttr("x-line-before");
} }
col.attr("x-column", "true"); col.tagName("div")
.attr("x-column", "true");
} }
if (merge.size() != 0) if (merge.size() != 0)

Loading…
Cancel
Save