diff --git a/inc/page.php b/inc/page.php index 1e70c09..fbfb6cb 100644 --- a/inc/page.php +++ b/inc/page.php @@ -243,7 +243,7 @@ class Page { function clean($text) { if ($text === null) return null; if (strstr($text, "\xa7") || strstr($text, "&")) { - $text = preg_replace("/(?i)(\u{00a7}|&)[0-9A-FK-OR]/u", "", $text); + $text = preg_replace("/(?i)(\x{00a7}|&)[0-9A-FK-OR]/u", "", $text); } $text = htmlspecialchars($text, ENT_QUOTES, "UTF-8"); if (strstr($text, "\n")) {