Small improvement

This commit is contained in:
M66B 2020-05-05 18:47:06 +02:00
parent b0ba366eea
commit d362728ac2
1 changed files with 2 additions and 2 deletions

View File

@ -611,7 +611,7 @@ public class HtmlHelper {
}
if ("inline".equals(value) || "inline-block".equals(value)) {
if (element.nextSibling() != null)
element.attr("inline", "true");
element.attr("x-inline", "true");
}
break;
@ -937,7 +937,7 @@ public class HtmlHelper {
}
for (Element div : document.select("div")) {
boolean inline = Boolean.parseBoolean(div.attr("inline"));
boolean inline = Boolean.parseBoolean(div.attr("x-inline"));
if (inline)
div.tagName("span");
}