Add context

This commit is contained in:
M66B
2023-09-22 20:26:14 +02:00
parent 6ddebf90f8
commit 06d63aec7c
3 changed files with 12 additions and 12 deletions

View File

@@ -5858,7 +5858,7 @@ public class FragmentCompose extends FragmentBase {
for (Element element : e.select("*")) {
String tag = element.tagName();
String clazz = element.attr("class");
String style = HtmlHelper.processStyles(tag, clazz, null, sheets);
String style = HtmlHelper.processStyles(context, tag, clazz, null, sheets);
style = HtmlHelper.mergeStyles(style, element.attr("style"));
if (!TextUtils.isEmpty(style))
element.attr("style", style);