Normale text contains condition

This commit is contained in:
M66B
2021-12-09 11:05:06 +01:00
parent 114fe7e236
commit ed0fc0aca2

View File

@@ -308,6 +308,9 @@ public class EntityRule {
String value = jbody.getString("value");
boolean regex = jbody.getBoolean("regex");
if (!regex)
value = value.replaceAll("\\s+", " ");
if (html == null && message.content) {
File file = message.getFile(context);
try {