FreeBSD Bugzilla – Attachment 136249 Details for
Bug 181419
[UPDATE] www/trac: Fix wiki bracketed link with Genshi 0.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
www_trac.diff
www_trac.diff (text/plain), 2.06 KB, created by
Hung-Yi Chen
on 2013-08-20 07:50:01 UTC
(
hide
)
Description:
www_trac.diff
Filename:
MIME Type:
Creator:
Hung-Yi Chen
Created:
2013-08-20 07:50:01 UTC
Size:
2.06 KB
patch
obsolete
>Index: www/trac/Makefile >=================================================================== >--- www/trac/Makefile (revision 324754) >+++ www/trac/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= trac > PORTVERSION= 1.0.1 >+PORTREVISION= 1 > CATEGORIES= www devel python > MASTER_SITES= http://ftp.edgewall.com/pub/trac/ \ > ftp://ftp.edgewall.com/pub/trac/ >Index: www/trac/files/patch-trac_wiki_formatter.py >=================================================================== >--- www/trac/files/patch-trac_wiki_formatter.py (revision 0) >+++ www/trac/files/patch-trac_wiki_formatter.py (working copy) >@@ -0,0 +1,11 @@ >+--- trac/wiki/formatter.py.orig 2013-02-01 08:47:41.000000000 +0800 >++++ trac/wiki/formatter.py 2013-08-20 14:24:46.982232000 +0800 >+@@ -575,7 +575,7 @@ >+ ns = fullmatch.group('snsbr') >+ target = unquote_label(fullmatch.group('stgtbr')) >+ match = match[1:-1] >+- return '<%s>' % \ >++ return u'<%s>' % \ >+ self._make_link(ns, target, match, match, fullmatch) >+ >+ def _shref_formatter(self, match, fullmatch): >Index: www/trac/files/patch-trac_wiki_tests_wiki-tests.txt >=================================================================== >--- www/trac/files/patch-trac_wiki_tests_wiki-tests.txt (revision 0) >+++ www/trac/files/patch-trac_wiki_tests_wiki-tests.txt (working copy) >@@ -0,0 +1,16 @@ >+--- trac/wiki/tests/wiki-tests.txt.orig 2013-08-20 14:02:43.308222000 +0800 >++++ trac/wiki/tests/wiki-tests.txt 2013-08-20 14:01:18.000000000 +0800 >+@@ -314,6 +314,13 @@ >+ ------------------------------ >+ <p> >+ nolink:"<blink>" >++</p> >++------------------------------ >++============================== Bracketed links >++See <http://en.wikipedia.org/wiki/Mornington_Crescent_(game)> >++------------------------------ >++<p> >++See <<a class="ext-link" href="http://en.wikipedia.org/wiki/Mornington_Crescent_(game)"><span class="icon"></span>http://en.wikipedia.org/wiki/Mornington_Crescent_(game)</a>> >+ </p> >+ ------------------------------ >+ ============================================================
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 181419
: 136249