Remove useless rawurlencode calls for building hashtag bbcode

- Fix some formatting
This commit is contained in:
Hypolite Petovan
2018-11-22 09:23:42 -05:00
parent 540321d0aa
commit 4874f7f8ab
7 changed files with 25 additions and 25 deletions

View 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 = [];