Remove useless rawurlencode calls for building hashtag bbcode
- Fix some formatting
This commit is contained in:
parent
540321d0aa
commit
4874f7f8ab
7 changed files with 25 additions and 25 deletions
|
@ -613,7 +613,7 @@ function photos_post(App $a)
|
|||
}
|
||||
|
||||
$profile = str_replace(',', '%2c', $profile);
|
||||
$str_tags .= '@[url='.$profile.']'.$newname.'[/url]';
|
||||
$str_tags .= '@[url=' . $profile . ']' . $newname . '[/url]';
|
||||
}
|
||||
} elseif (strpos($tag, '#') === 0) {
|
||||
$tagname = substr($tag, 1);
|
||||
|
|
|
@ -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('⌗') . '[url=' . System::baseUrl() . '/search?tag=' . urlencode($term) . ']'. $term . '[/url]';
|
||||
$termlink = html_entity_decode('⌗') . '[url=' . System::baseUrl() . '/search?tag=' . $term . ']'. $term . '[/url]';
|
||||
|
||||
$arr = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue