summaryrefslogtreecommitdiff
path: root/japanese/trac/files/patch-formatter.py
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/trac/files/patch-formatter.py')
-rw-r--r--japanese/trac/files/patch-formatter.py11
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)
+