Markup/Misc

* fixed ajax fulltext sanitizer eating \s instead of \n after 57864d2544
 * happy new year
This commit is contained in:
Sarjuuk
2022-01-06 14:17:27 +01:00
parent dcb8995b1a
commit 541224f87b
2 changed files with 2 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ class AjaxHandler
protected static function checkFulltext(string $val) : string
{
// trim non-printable chars
return preg_replace('/[\p{Cf} \p{Co} \p{Cs} \p{Cn}]/ui', '', $val);
return preg_replace('/[\p{Cf}\p{Co}\p{Cs}\p{Cn}]/ui', '', $val);
}
}
?>