Made custom rendering an experiment

This commit is contained in:
M66B
2020-04-24 16:12:07 +02:00
parent bd0b1e5c11
commit a6e4296b1d
6 changed files with 11 additions and 11 deletions

View File

@@ -78,7 +78,7 @@ public class EditTextCompose extends FixedEditText {
html = "<div>" + HtmlHelper.formatPre(text.toString()) + "</div>";
}
Document document = HtmlHelper.sanitizeCompose(context, html, false);
Spanned paste = HtmlHelper.fromDocument(document);
Spanned paste = HtmlHelper.fromDocument(context, document);
int colorPrimary = Helper.resolveColor(context, R.attr.colorPrimary);