summaryrefslogtreecommitdiff
path: root/include/functions2.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-07-06 21:31:57 +0300
committerAndrew Dolgov <[email protected]>2015-07-06 21:31:57 +0300
commit74c1ff6065a4fc7c58bb453a87dfcf59a14e88f8 (patch)
tree48372c8e7d4e65984e40a6e95373609bd5cb13a3 /include/functions2.php
parent5dcc7bf1f6a5dceddf28f179438531d3f08b0d6a (diff)
parent35c373549453d962907c14a81059a1de0dfc5e7a (diff)
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'include/functions2.php')
-rw-r--r--include/functions2.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/functions2.php b/include/functions2.php
index e212609db..1936d146d 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -1483,9 +1483,9 @@
$tag = preg_replace('/[\'\"\+\>\<]/', "", $tag);
-// $tag = str_replace('"', "", $tag);
-// $tag = str_replace("+", " ", $tag);
- $tag = str_replace("technorati tag: ", "", $tag);
+ if (DB_TYPE == "mysql") {
+ $tag = preg_replace('/[\x{10000}-\x{10FFFF}]/u', "\xEF\xBF\xBD", $tag);
+ }
return $tag;
}