Remove unnecessary special treatment of -srl attributes

This commit is contained in:
Kijin Sung 2023-10-06 22:50:40 +09:00
parent 321d0ea88c
commit a3497cc2b1

View file

@ -711,10 +711,6 @@ class HTMLFilter
{
return '';
}
if (preg_match('/-srl$/i', $attrkey) && !ctype_digit($attrval))
{
return '';
}
$attrs[$attrkey] = $attrval;
return '';
}, $match[0]);