Paste plain text without quoting

This commit is contained in:
M66B
2020-05-22 20:07:58 +02:00
parent 7c00859a58
commit 0ba3e9e9df
2 changed files with 23 additions and 17 deletions

View File

@@ -77,7 +77,7 @@ public class EditTextCompose extends FixedEditText {
CharSequence text = item.getText();
if (text == null)
return false;
html = "<div>" + HtmlHelper.formatPre(text.toString()) + "</div>";
html = "<div>" + HtmlHelper.formatPre(text.toString(), false) + "</div>";
}
Document document = HtmlHelper.sanitizeCompose(context, html, false);