mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Convert HTML only if editor is empty
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user