Convert HTML only if editor is empty

pull/217/head
M66B 9 months ago
parent 5b512c1b22
commit 16714bcab8

@ -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…
Cancel
Save