comparison MoinMoin/wikiutil.py @ 376:7da3d0f49549

Added a space character to satisfy those crazy KDE users. imported from: moin--main--1.5--patch-380
author Alexander Schremmer <alex@alexanderweb.de.tla>
date Sat, 14 Jan 2006 16:41:13 +0000
parents 0a40d8a4057e
children 8a750c0d229a
comparison
equal deleted inserted replaced
375:6f8d4ca0ef6e 376:7da3d0f49549
1297 request.user.edit_on_doubleclick): 1297 request.user.edit_on_doubleclick):
1298 if request.user.may.write(pagename): # separating this gains speed 1298 if request.user.may.write(pagename): # separating this gains speed
1299 querystr = escape(makeQueryString({'action': 'edit'})) 1299 querystr = escape(makeQueryString({'action': 'edit'}))
1300 # TODO: remove escape=0 in 2.0 1300 # TODO: remove escape=0 in 2.0
1301 url = page.url(request, querystr, escape=0) 1301 url = page.url(request, querystr, escape=0)
1302 bodyattr.append(''' ondblclick="location.href='%s'"''' % url) 1302 bodyattr.append(''' ondblclick="location.href='%s'" ''' % url)
1303 1303
1304 # Set body to the user interface language and direction 1304 # Set body to the user interface language and direction
1305 bodyattr.append(' %s' % request.theme.ui_lang_attr()) 1305 bodyattr.append(' %s' % request.theme.ui_lang_attr())
1306 1306
1307 body_onload = keywords.get('body_onload', '') 1307 body_onload = keywords.get('body_onload', '')