summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-02-17 21:24:06 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-02-17 21:24:06 +0000
commit6fb3923cef0699a05b336f35505637485f16157e (patch)
tree20f10b27d78427762141149333153bbddf510b26
parent2eb6a6a9b02b51d9c8aa2f7bcff559681dd33b90 (diff)
parent4327ae19d49384ca2f4b65b04926fb2fbea7d28d (diff)
Merge branch 'ticket-1053' of git://gitorious.org/laconica/meitar into review
-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');