aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/trac
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2006-08-24 11:53:56 +0800
committerkuriyama <kuriyama@FreeBSD.org>2006-08-24 11:53:56 +0800
commitc0234fe55e1a47dccdc70627e938bc42bf49e61a (patch)
tree4f487ce05fe72e6849a9e0b73bbb2162b8e2fe4c /japanese/trac
parent27817b2904aee60f443139d8dd68e32a39722524 (diff)
downloadfreebsd-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')
-rw-r--r--japanese/trac/Makefile2
-rw-r--r--japanese/trac/files/patch-formatter.py11
2 files changed, 12 insertions, 1 deletions
diff --git a/japanese/trac/Makefile b/japanese/trac/Makefile
index 9f2f0b0d1607..8f1fba1b6352 100644
--- a/japanese/trac/Makefile
+++ b/japanese/trac/Makefile
@@ -7,7 +7,7 @@
PORTNAME= trac
PORTVERSION= 0.9.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= japanese www devel python
MASTER_SITES= http://dist.bsdlab.org/ \
http://www.i-act.co.jp/project/products/downloads/
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)
+