diff options
author | Meitar Moscovitz <meitarm@gmail.com> | 2009-02-17 18:37:02 +1100 |
---|---|---|
committer | Meitar Moscovitz <meitarm@gmail.com> | 2009-02-17 18:37:02 +1100 |
commit | 4327ae19d49384ca2f4b65b04926fb2fbea7d28d (patch) | |
tree | 80fdbb9b421a17e954f1d6d7a6ca6249bd29beaf | |
parent | ab3c5d6f2d93843c199ebc4183f9ba307db1377d (diff) |
Fixes ticket:1053; removes spacing between hash and tag on profile page.
-rw-r--r-- | actions/showstream.php | 10 |
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'); |