Merge branch 'ticket-1053' of git://gitorious.org/laconica/meitar into review

This commit is contained in:
Sarven Capadisli 2009-02-17 21:24:06 +00:00
commit 6fb3923cef

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');