mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:35:55 +00:00
add validationtextarea control, use it for filter match editor
This commit is contained in:
@@ -1343,6 +1343,7 @@ class RSSUtils {
|
||||
foreach ($filter["rules"] as $rule) {
|
||||
$match = false;
|
||||
$reg_exp = str_replace('/', '\/', $rule["reg_exp"]);
|
||||
$reg_exp = str_replace("\n", "", $reg_exp); // reg_exp may be formatted with CRs now because of textarea, we need to strip those
|
||||
$rule_inverse = $rule["inverse"];
|
||||
|
||||
if (!$reg_exp)
|
||||
|
||||
Reference in New Issue
Block a user