Fixes ticket:1053; removes spacing between hash and tag on profile page.

This commit is contained in:
Meitar Moscovitz 2009-02-17 18:37:02 +11:00
parent ab3c5d6f2d
commit 4327ae19d4
1 changed files with 5 additions and 5 deletions

View File

@ -292,11 +292,11 @@ class ShowstreamAction extends Action
$this->elementStart('ul', 'tags xoxo'); $this->elementStart('ul', 'tags xoxo');
foreach ($tags as $tag) { foreach ($tags as $tag) {
$this->elementStart('li'); $this->elementStart('li');
$this->element('span', 'mark_hash', '#'); // Avoid space by using raw output.
$this->element('a', array('rel' => 'tag', $pt = '<span class="mark_hash">#</span><a rel="tag" href="' .
'href' => common_local_url('peopletag', common_local_url('peopletag', array('tag' => $tag)) .
array('tag' => $tag))), '">' . $tag . '</a>';
$tag); $this->raw($pt);
$this->elementEnd('li'); $this->elementEnd('li');
} }
$this->elementEnd('ul'); $this->elementEnd('ul');