mirror of https://github.com/M66B/FairEmail.git
Prevent pasting multiple newlines
This commit is contained in:
parent
094bdf00a1
commit
79603c5cfe
|
@ -77,7 +77,7 @@ public class EditTextCompose extends FixedEditText {
|
|||
CharSequence text = item.getText();
|
||||
if (text == null)
|
||||
return false;
|
||||
html = "<div x-plain=\"true\">" + HtmlHelper.formatPre(text.toString()) + "</div>";
|
||||
html = "<div>" + HtmlHelper.formatPre(text.toString()) + "</div>";
|
||||
}
|
||||
|
||||
Document document = HtmlHelper.sanitizeCompose(context, html, false);
|
||||
|
|
Loading…
Reference in New Issue