Added support font-weight: bold

This commit is contained in:
M66B
2020-02-08 20:39:51 +01:00
parent 5aeca81897
commit 508487190d

View File

@@ -375,8 +375,12 @@ public class HtmlHelper {
}
break;
case "background":
case "background-color":
case "font-weight":
if ("bold".equals(value)) {
Element strong = new Element("strong");
element.replaceWith(strong);
strong.appendChild(element);
}
break;
case "line-through":