summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-20 09:54:17 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-20 09:54:17 -0500
commita0ddbecfbc4f923f0555aebacf726e2e50a92fd1 (patch)
treed73c51b8b7e8dfd78b0d11dbac02fc6c4f2a2671 /actions/showstream.php
parentd8b6762e6dcb776571797f51d7c7d4cb99c9ef31 (diff)
parentc9def4a8768239093823fbe34367d97f9e30d320 (diff)
Merge branch '0.7.x' of evan@dev.controlyourself.ca:/var/www/evan into 0.7.x
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');