summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorMeitar Moscovitz <meitarm@gmail.com>2009-02-17 18:37:02 +1100
committerMeitar Moscovitz <meitarm@gmail.com>2009-02-17 18:37:02 +1100
commit4327ae19d49384ca2f4b65b04926fb2fbea7d28d (patch)
tree80fdbb9b421a17e954f1d6d7a6ca6249bd29beaf /actions/showstream.php
parentab3c5d6f2d93843c199ebc4183f9ba307db1377d (diff)
Fixes ticket:1053; removes spacing between hash and tag on profile page.
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');