From: Fabrixxm Date: Sun, 4 Aug 2013 07:12:17 +0000 (-0400) Subject: hex tag filter: look at entire string X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3f36d375e235b5bad584afe0d90acb35ca25bffa;p=friendica.git hex tag filter: look at entire string --- diff --git a/include/tags.php b/include/tags.php index ba61f448e0..e5bc29cd4f 100644 --- a/include/tags.php +++ b/include/tags.php @@ -83,7 +83,7 @@ function create_tags_from_item($itemid) { if(ctype_digit(substr(trim($tag),1))) continue; // try to ignore html hex escapes, e.g. #x2317 - if((substr(trim($tag),1,1) == 'x' || substr(trim($tag),1,1) == 'X') && ctype_digit(substr(trim($tag),2,1))) + if((substr(trim($tag),1,1) == 'x' || substr(trim($tag),1,1) == 'X') && ctype_digit(substr(trim($tag),2))) continue; $type = TERM_HASHTAG; $term = substr($tag, 1);