Added composing indentation

This commit is contained in:
M66B
2021-07-07 16:39:04 +02:00
parent aacdcae4de
commit 2048374ad0
5 changed files with 86 additions and 8 deletions

View File

@@ -814,8 +814,13 @@ public class HtmlHelper {
if (value != null) {
// 1px solid rgb(204,204,204)
Float border = getFontSize(value.trim().split("\\s+")[0], 1.0f);
if (border != null && border > 0)
if (border != null && border > 0) {
element.attr("x-border", "true");
if (!view) {
sb.append("border-left").append(':').append("3px solid #ccc").append(';');
sb.append("padding-left").append(':').append("3px").append(';');
}
}
}
break;
}
@@ -2951,6 +2956,8 @@ public class HtmlHelper {
last.remove();
}
Log.i("MMM " + doc.html());
return doc.html();
}