summaryrefslogtreecommitdiffstats
path: root/lib/class
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class')
-rw-r--r--lib/class/tag.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/tag.class.php b/lib/class/tag.class.php
index 1e3ba1d0..a34a2586 100644
--- a/lib/class/tag.class.php
+++ b/lib/class/tag.class.php
@@ -346,7 +346,7 @@ return array();
*/
public static function clean_tag($value) {
- $tag = preg_replace("/[^\w\_\-]/","",$value);
+ $tag = preg_replace("/[^\w\_\-\s]/","",$value);
return $tag;