From: friendica Date: Mon, 14 Nov 2011 03:38:30 +0000 (-0800) Subject: D* doesn't like html entities in post. Convert our hijack-proof hashtag replacement... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c659512f32e449253482fdb57ae67ed25ac35c34;p=friendica.git D* doesn't like html entities in post. Convert our hijack-proof hashtag replacement to utf-8 --- diff --git a/mod/tagger.php b/mod/tagger.php index 9e458a5b7d..76ec3366c8 100644 --- a/mod/tagger.php +++ b/mod/tagger.php @@ -105,7 +105,7 @@ EOT; if(! isset($bodyverb)) return; - $termlink = '⌗[url=' . $a->get_baseurl() . '/search?search=' . urlencode($term) . ']'. $term . '[/url]'; + $termlink = html_entity_decode('⌗') . '[url=' . $a->get_baseurl() . '/search?search=' . urlencode($term) . ']'. $term . '[/url]'; $arr = array();