diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2006-08-24 11:53:56 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2006-08-24 11:53:56 +0800 |
commit | c0234fe55e1a47dccdc70627e938bc42bf49e61a (patch) | |
tree | 4f487ce05fe72e6849a9e0b73bbb2162b8e2fe4c /japanese/trac/files | |
parent | 27817b2904aee60f443139d8dd68e32a39722524 (diff) | |
download | freebsd-ports-gnome-c0234fe55e1a47dccdc70627e938bc42bf49e61a.tar.gz freebsd-ports-gnome-c0234fe55e1a47dccdc70627e938bc42bf49e61a.tar.zst freebsd-ports-gnome-c0234fe55e1a47dccdc70627e938bc42bf49e61a.zip |
- Improve rendering of external link icon in Win IE.
Obtained from: http://trac.edgewall.org/changeset/3282
Diffstat (limited to 'japanese/trac/files')
-rw-r--r-- | japanese/trac/files/patch-formatter.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/japanese/trac/files/patch-formatter.py b/japanese/trac/files/patch-formatter.py new file mode 100644 index 000000000000..1d73a2ad43ac --- /dev/null +++ b/japanese/trac/files/patch-formatter.py @@ -0,0 +1,11 @@ +--- trac/wiki/formatter.py.orig Thu Aug 24 12:45:42 2006 ++++ trac/wiki/formatter.py Thu Aug 24 12:46:01 2006 +@@ -307,7 +307,7 @@ + return '<img src="%s" alt="%s" />' % (url, title or text) + if not url.startswith(self._local): + return '<a class="ext-link" href="%s"%s><span class="icon">' \ +- '</span>%s</a>' % (url, title_attr, text) ++ '%s</span></a>' % (url, title_attr, text) + else: + return '<a href="%s"%s>%s</a>' % (url, title_attr, text) + |