Refactoring

This commit is contained in:
M66B
2020-04-24 14:00:53 +02:00
parent 5112bca339
commit d98ee009aa
4 changed files with 11 additions and 3 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.fromHtml(document.html());
Spanned paste = HtmlHelper.fromDocument(document);
int colorPrimary = Helper.resolveColor(context, R.attr.colorPrimary);