summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorMeitar Moscovitz <meitarm@gmail.com>2009-02-18 13:01:52 +1100
committerMeitar Moscovitz <meitarm@gmail.com>2009-02-18 13:01:52 +1100
commitcca1d777485d9b5f41bbc65ad10b002702f0aae4 (patch)
tree1a498462a0d98d4f89a55f548099abd5401dc538 /actions/showstream.php
parent9d81cef5cc2a0a197a0223206ba3d9a687065886 (diff)
parent6fb3923cef0699a05b336f35505637485f16157e (diff)
Merge branch 'dev-0.7.x' into framebusting
Conflicts: lib/action.php
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index c736c99b5..65482167e 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -292,11 +292,11 @@ class ShowstreamAction extends Action
$this->elementStart('ul', 'tags xoxo');
foreach ($tags as $tag) {
$this->elementStart('li');
- $this->element('span', 'mark_hash', '#');
- $this->element('a', array('rel' => 'tag',
- 'href' => common_local_url('peopletag',
- array('tag' => $tag))),
- $tag);
+ // Avoid space by using raw output.
+ $pt = '<span class="mark_hash">#</span><a rel="tag" href="' .
+ common_local_url('peopletag', array('tag' => $tag)) .
+ '">' . $tag . '</a>';
+ $this->raw($pt);
$this->elementEnd('li');
}
$this->elementEnd('ul');