mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
- Improve rendering of external link icon in Win IE.
Obtained from: http://trac.edgewall.org/changeset/3282
This commit is contained in:
parent
87cc7d8d01
commit
dea1f2fb23
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171300
@ -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/
|
||||
|
11
japanese/trac/files/patch-formatter.py
Normal file
11
japanese/trac/files/patch-formatter.py
Normal file
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user