mirror of
https://github.com/friendica/friendica
synced 2024-11-19 05:03:41 +00:00
Remove leading space in displayed public tags in profile page
This commit is contained in:
parent
b7e43d3a48
commit
a2556e7c67
1 changed files with 2 additions and 1 deletions
|
@ -192,6 +192,7 @@ class Profile extends BaseProfile
|
|||
|
||||
if ($a->profile['pub_keywords']) {
|
||||
$tags = [];
|
||||
// Separator is defined in Module\Settings\Profile\Index::cleanKeywords
|
||||
foreach (explode(', ', $a->profile['pub_keywords']) as $tag_label) {
|
||||
$tags[] = [
|
||||
'url' => '/search?tag=' . $tag_label,
|
||||
|
|
Loading…
Reference in a new issue