freebsd-ports/www/trac/files/patch-trac_wiki_formatter.py
Ruslan Makhmatkhanov 76335c8c63 - remove indefinite article from COMMENT
- add LICENSE (BSD3C)
- set RUN_DEPENDS explicitly
- turn database back-end selection into radio-option keeping existing
logic: if PGSQL isn't selected SQLITE is used
- use options helpers
- do not use easy_install and convert to auto-generated packing list [1]
- utilize shebangfix, instead of doing the same manually
- remove no more needed x-generate-plist target
- simplify examples installation and unmute it's commands
- do not install rpm stuff, it's not linux here anyway
- whitespace fixes in pkg-descr
- bump PORTREVISION

PR:		182332
Requested by:   Volodymyr Kostyrko <arcade@b1t.name> [1]
Submitted by:	rm (myself)
Approved by:	maintainer timeout

- add upstream patch to fix wiki bracketed link with Genshi 0.7
  see http://trac.edgewall.org/changeset/11683 for details

PR:     181419
Submitted by:   Hung-Yi Chen <gaod@hychen.org>
Approved by:    maintainer timeout
2014-02-08 20:02:33 +00:00

14 lines
574 B
Python

Backported from upstream repo: http://trac.edgewall.org/changeset/11683
See PR 181419 for details.
--- 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 '&lt;%s&gt;' % \
+ return u'&lt;%s&gt;' % \
self._make_link(ns, target, match, match, fullmatch)
def _shref_formatter(self, match, fullmatch):