1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-21 23:32:51 +00:00

Compower: conditionally allow pasting HTML

This commit is contained in:
M66B 2024-12-12 09:39:02 +01:00
parent 0d5aafb1f9
commit 4a50c2f333

View file

@ -619,7 +619,7 @@ public class EditTextCompose extends FixedEditText {
final String html;
String h = null;
if (raw) {
if (raw || !BuildConfig.PLAY_STORE_RELEASE) {
CharSequence text = item.getText();
if (text != null && DetectHtml.isHtml(text.toString())) {
Log.i("Paste: raw HTML");