mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-22 07:42:52 +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;
|
final String html;
|
||||||
String h = null;
|
String h = null;
|
||||||
if (raw || !BuildConfig.PLAY_STORE_RELEASE) {
|
if (raw || (!BuildConfig.PLAY_STORE_RELEASE && length() == 0)) {
|
||||||
CharSequence text = item.getText();
|
CharSequence text = item.getText();
|
||||||
if (text != null && DetectHtml.isHtml(text.toString())) {
|
if (text != null && DetectHtml.isHtml(text.toString())) {
|
||||||
Log.i("Paste: raw HTML");
|
Log.i("Paste: raw HTML");
|
||||||
|
|
Loading…
Reference in a new issue