diff MoinMoin/theme/__init__.py @ 1816:4a31739bc6e1

Page.url(): removed escaping support
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 25 Feb 2007 03:08:18 +0100
parents 11b75f065ebd
children 6a162bb60560
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sat Feb 24 20:42:21 2007 +0100
+++ b/MoinMoin/theme/__init__.py	Sun Feb 25 03:08:18 2007 +0100
@@ -1166,7 +1166,7 @@
 var gui_editor_link_text = "%(text)s";
 //-->
 </script>        
-""" % {'url': page.url(self.request, querystr={'action': 'edit', 'editor': 'gui', }, escape=0, relative=False),
+""" % {'url': page.url(self.request, querystr={'action': 'edit', 'editor': 'gui', }, relative=False),
        'text': _('Edit (GUI)', formatted=False),
       }
 
@@ -1584,8 +1584,7 @@
             request.user.edit_on_doubleclick):
             if request.user.may.write(pagename): # separating this gains speed
                 querystr = wikiutil.escape(wikiutil.makeQueryString({'action': 'edit'}))
-                # TODO: remove escape=0 in 2.0
-                url = page.url(request, querystr, escape=0, relative=False)
+                url = page.url(request, querystr, relative=False)
                 bodyattr.append(''' ondblclick="location.href='%s'" ''' % url)
 
         # Set body to the user interface language and direction