mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 06:20:26 +00:00
Prevent pasting multiple newlines
This commit is contained in:
parent
094bdf00a1
commit
79603c5cfe
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ public class EditTextCompose extends FixedEditText {
|
||||||
CharSequence text = item.getText();
|
CharSequence text = item.getText();
|
||||||
if (text == null)
|
if (text == null)
|
||||||
return false;
|
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);
|
Document document = HtmlHelper.sanitizeCompose(context, html, false);
|
||||||
|
|
Loading…
Reference in a new issue