includes/functions.php
changeset 174 4c5c2b66a34d
parent 164 54c79adfb694
child 178 4c19952406db
child 183 91127e62f38f
--- a/includes/functions.php	Sat Oct 06 20:47:09 2007 -0400
+++ b/includes/functions.php	Sun Oct 07 08:39:40 2007 -0400
@@ -2744,7 +2744,7 @@
 function sanitize_tag($tag)
 {
   $tag = strtolower($tag);
-  $tag = preg_replace('/[^\w _-]+/', '', $tag);
+  $tag = preg_replace('/[^\w _@\$%\^&-]+/', '', $tag);
   $tag = trim($tag);
   return $tag;
 }