]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagger.php
Remove useless rawurlencode calls for building hashtag bbcode
[friendica.git] / mod / tagger.php
index 6c3c6157a548fb133eb83fac8525f784a6cf089c..09668cd6de23ff7e21d60a8450e92fa8a39c1ade 100644 (file)
@@ -93,7 +93,7 @@ function tagger_content(App $a) {
        </target>
 EOT;
 
-       $tagid = System::baseUrl() . '/search?tag=' . $term;
+       $tagid = System::baseUrl() . '/search?tag=' . $xterm;
        $objtype = ACTIVITY_OBJ_TAGTERM;
 
        $obj = <<< EOT
@@ -113,7 +113,7 @@ EOT;
                return;
        }
 
-       $termlink = html_entity_decode('&#x2317;') . '[url=' . System::baseUrl() . '/search?tag=' . urlencode($term) . ']'. $term . '[/url]';
+       $termlink = html_entity_decode('&#x2317;') . '[url=' . System::baseUrl() . '/search?tag=' . $term . ']'. $term . '[/url]';
 
        $arr = [];