Disable autolink for composer

This commit is contained in:
M66B
2019-11-15 08:43:35 +01:00
parent 12f0b169a6
commit 44dd58d0d1
5 changed files with 61 additions and 59 deletions

View File

@@ -68,7 +68,7 @@ public class EditTextCompose extends AppCompatEditText {
ClipData.Item item = clipboard.getPrimaryClip().getItemAt(0);
String html = item.coerceToHtmlText(context);
html = HtmlHelper.sanitize(context, html, false);
html = HtmlHelper.sanitize(context, html, false, false);
Spanned paste = HtmlHelper.fromHtml(html);
int start = getSelectionStart();