fixed commit mistake, thanks Nico

This commit is contained in:
mdipierro
2012-10-25 17:23:05 -05:00
parent fb22a8843e
commit 6af2e859ac
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.2.1 (2012-10-25 10:23:42) stable
Version 2.2.1 (2012-10-25 17:22:57) stable
-3
View File
@@ -1265,9 +1265,6 @@ def render(text,
if '#' in k and not ':' in k.split('#')[0]:
# wikipage, not external url
k=k.replace('#','#'+id_prefix)
if k.startswith('#'):
k = '#'+id_prefix+k[1:]
k = escape(k)
title = ' title="%s"' % a.replace(META, DISABLED_META) if a else ''
target = ' target="_blank"' if p == 'popup' else ''