Small improvement

This commit is contained in:
M66B 2021-04-19 21:23:54 +02:00
parent 405b7ec4d6
commit d3fbca7b74
1 changed files with 3 additions and 3 deletions

View File

@ -458,9 +458,9 @@ public class HtmlHelper {
for (Element font : document.select("font")) {
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/font
String style = font.attr("style");
String color = font.attr("color");
String size = font.attr("size");
String face = font.attr("face");
String color = font.attr("color").trim();
String size = font.attr("size").trim();
String face = font.attr("face").trim();
style = style.trim();
if (!TextUtils.isEmpty(style) && !style.endsWith(";"))