mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 16:16:33 +02:00
Add context
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user