summaryrefslogtreecommitdiff
path: root/lib/subscriptionlist.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-03-24 20:50:07 +0100
committerSarven Capadisli <csarven@status.net>2010-03-25 22:20:06 +0100
commit2b3a2e6b6d0e50a8723fd970bc8d23eb1378d2ea (patch)
tree14ee0482db56e49e41f4b1800f1e7c0125e48f76 /lib/subscriptionlist.php
parent711079a3cb268cd3aef927f533e01ff47177fcd9 (diff)
Updated tag list output in subscriptions list. Matches userprofile.
Diffstat (limited to 'lib/subscriptionlist.php')
-rw-r--r--lib/subscriptionlist.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/subscriptionlist.php b/lib/subscriptionlist.php
index e1207774f..fc8f33f2e 100644
--- a/lib/subscriptionlist.php
+++ b/lib/subscriptionlist.php
@@ -113,12 +113,13 @@ class SubscriptionListItem extends ProfileListItem
$this->out->elementStart('ul', 'tags xoxo');
foreach ($tags as $tag) {
$this->out->elementStart('li');
- $this->out->element('span', 'mark_hash', '#');
- $this->out->element('a', array('rel' => 'tag',
- 'href' => common_local_url($this->action->trimmed('action'),
- array('nickname' => $this->owner->nickname,
- 'tag' => $tag))),
- $tag);
+ // Avoid space by using raw output.
+ $pt = '<span class="mark_hash">#</span><a rel="tag" href="' .
+ common_local_url($this->action->trimmed('action'),
+ array('nickname' => $this->owner->nickname,
+ 'tag' => $tag)) .
+ '">' . $tag . '</a>';
+ $this->out->raw($pt);
$this->out->elementEnd('li');
}
$this->out->elementEnd('ul');