]> git.mxchange.org Git - friendica.git/commitdiff
D* doesn't like html entities in post. Convert our hijack-proof hashtag replacement...
authorfriendica <info@friendica.com>
Mon, 14 Nov 2011 03:38:30 +0000 (19:38 -0800)
committerfriendica <info@friendica.com>
Mon, 14 Nov 2011 03:38:30 +0000 (19:38 -0800)
mod/tagger.php

index 9e458a5b7df6c07cdd830fc035780405a3e015b9..76ec3366c840d8a0ad2043c6114ae048febb4d77 100644 (file)
@@ -105,7 +105,7 @@ EOT;
        if(! isset($bodyverb))
                        return; 
 
-       $termlink = '&#x2317;[url=' . $a->get_baseurl() . '/search?search=' . urlencode($term) . ']'. $term . '[/url]';
+       $termlink = html_entity_decode('&#x2317;') . '[url=' . $a->get_baseurl() . '/search?search=' . urlencode($term) . ']'. $term . '[/url]';
 
        $arr = array();