summaryrefslogtreecommitdiffstatshomepage
path: root/services/tagservice.php
diff options
context:
space:
mode:
Diffstat (limited to 'services/tagservice.php')
-rw-r--r--services/tagservice.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/tagservice.php b/services/tagservice.php
index bbf3574..256afc5 100644
--- a/services/tagservice.php
+++ b/services/tagservice.php
@@ -41,6 +41,10 @@ class TagService {
}
}
+ //clean tags from strange characters
+ $tags = str_replace(array('"', '\''), "_", $tags);
+
+
$tags_count = count($tags);
for ($i = 0; $i < $tags_count; $i++) {
$tags[$i] = trim(strtolower($tags[$i]));