mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-21 23:32:51 +00:00
Convert HTML only if editor is empty
This commit is contained in:
parent
5b512c1b22
commit
16714bcab8
1 changed files with 1 additions and 1 deletions
|
@ -619,7 +619,7 @@ public class EditTextCompose extends FixedEditText {
|
|||
|
||||
final String html;
|
||||
String h = null;
|
||||
if (raw || !BuildConfig.PLAY_STORE_RELEASE) {
|
||||
if (raw || (!BuildConfig.PLAY_STORE_RELEASE && length() == 0)) {
|
||||
CharSequence text = item.getText();
|
||||
if (text != null && DetectHtml.isHtml(text.toString())) {
|
||||
Log.i("Paste: raw HTML");
|
||||
|
|
Loading…
Reference in a new issue