From 2f44974b001e754291817af30c32407f21730cba Mon Sep 17 00:00:00 2001 From: vargenau Date: Mon, 30 Mar 2015 10:43:29 +0000 Subject: [PATCH] =?utf8?q?Remove=20xa0=20(non=20breaking=20space),=20it=20?= =?utf8?q?prevented=20to=20create=20create=20pages=20containing=20"=C3=A0"?= =?utf8?q?=20in=20UTF-8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@9632 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/stdlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stdlib.php b/lib/stdlib.php index 8c171f470..26696f199 100644 --- a/lib/stdlib.php +++ b/lib/stdlib.php @@ -923,7 +923,7 @@ class WikiPageName private function _check($pagename) { // Compress internal white-space to single space character. - $pagename = preg_replace('/[\s\xa0]+/', ' ', $orig = $pagename); + $pagename = preg_replace('/[\s]+/', ' ', $orig = $pagename); if ($pagename != $orig) $this->_warnings[] = _("White space converted to single space"); -- 2.45.0