Compower: conditionally allow pasting HTML

pull/217/head
M66B 9 months ago
parent 0d5aafb1f9
commit 4a50c2f333

@ -619,7 +619,7 @@ public class EditTextCompose extends FixedEditText {
final String html; final String html;
String h = null; String h = null;
if (raw) { if (raw || !BuildConfig.PLAY_STORE_RELEASE) {
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…
Cancel
Save