comparison MoinMoin/formatter/text_html.py @ 4566:2eaf4b42b400

merged moin/1.8
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 10 Feb 2009 13:21:59 +0100
parents 910474dded06 050428d1c044
children de10b1613647
comparison
equal deleted inserted replaced
4552:7d8c6d279cff 4566:2eaf4b42b400
500 if querystr: 500 if querystr:
501 separator = ('?', '&')['?' in href] 501 separator = ('?', '&')['?' in href]
502 href = '%s%s%s' % (href, separator, wikiutil.makeQueryString(querystr)) 502 href = '%s%s%s' % (href, separator, wikiutil.makeQueryString(querystr))
503 anchor = kw.get('anchor') 503 anchor = kw.get('anchor')
504 if anchor: 504 if anchor:
505 href = '%s#%s' % (href, anchor) 505 href = '%s#%s' % (href, self.sanitize_to_id(anchor))
506 if wikitag_bad: 506 if wikitag_bad:
507 html_class = 'badinterwiki' 507 html_class = 'badinterwiki'
508 else: 508 else:
509 html_class = 'interwiki' 509 html_class = 'interwiki'
510 title = kw.get('title', wikitag) 510 title = kw.get('title', wikitag)