comparison MoinMoin/wikiutil.py @ 2374:629dea07759f

do not parse single-quoted page names as quoted fixes bugs with ['text_html'] being a link
author Johannes Berg <johannes AT sipsolutions DOT net>
date Thu, 12 Jul 2007 14:40:06 +0200
parents 01f05e74aa9c
children a7f4b02f5fdb
comparison
equal deleted inserted replaced
2373:7e7560f2cddd 2374:629dea07759f
480 self.wlock.release() 480 self.wlock.release()
481 481
482 482
483 # Quoting of wiki names, file names, etc. (in the wiki markup) ----------------------------------- 483 # Quoting of wiki names, file names, etc. (in the wiki markup) -----------------------------------
484 484
485 QUOTE_CHARS = u"'\"" 485 QUOTE_CHARS = u'"'
486 486
487 def quoteName(name): 487 def quoteName(name):
488 """ put quotes around a given name """ 488 """ put quotes around a given name """
489 for quote_char in QUOTE_CHARS: 489 for quote_char in QUOTE_CHARS:
490 if quote_char not in name: 490 if quote_char not in name: