You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by as...@apache.org on 2013/05/27 21:00:52 UTC

svn commit: r1486695 - /bloodhound/trunk/trac/trac/wiki/formatter.py

Author: astaric
Date: Mon May 27 19:00:52 2013
New Revision: 1486695

URL: http://svn.apache.org/r1486695
Log:
Moved global link icon back to the position used by Trac.

For more info see the mailing list thread:
http://s.apache.org/MtT 

Modified:
    bloodhound/trunk/trac/trac/wiki/formatter.py

Modified: bloodhound/trunk/trac/trac/wiki/formatter.py
URL: http://svn.apache.org/viewvc/bloodhound/trunk/trac/trac/wiki/formatter.py?rev=1486695&r1=1486694&r2=1486695&view=diff
==============================================================================
--- bloodhound/trunk/trac/trac/wiki/formatter.py (original)
+++ bloodhound/trunk/trac/trac/wiki/formatter.py Mon May 27 19:00:52 2013
@@ -707,7 +707,7 @@ class Formatter(object):
         local_url = self.env.project_url or \
                     (self.req or self.env).abs_href.base
         if not url.startswith(local_url):
-            return tag.a(text, tag.span(u'\u200b', class_="icon"),
+            return tag.a(tag.span(u'\u200b', class_="icon"), text,
                          class_="ext-link", href=url, title=title or None)
         else:
             return tag.a(text, href=url, title=title or None)