]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixes ticket:1053; removes spacing between hash and tag on profile page.
authorMeitar Moscovitz <meitarm@gmail.com>
Tue, 17 Feb 2009 07:37:02 +0000 (18:37 +1100)
committerMeitar Moscovitz <meitarm@gmail.com>
Tue, 17 Feb 2009 07:37:02 +0000 (18:37 +1100)
actions/showstream.php

index c736c99b5db774ee78e18563fa903893ca52fd81..65482167e10d5eda4ce8b40803bff07f845d9156 100644 (file)
@@ -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');