changeset 3869:4f0dcb5fe7a6

MonthCalendar macro: fix MoinMoinBugs/MonthCalendarBreaksOnApostrophe
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 18 Jul 2008 09:54:43 +0200
parents 4f050cf6627e
children 3a81ee4b66e8 c4cf4327c96e
files MoinMoin/macro/MonthCalendar.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/MonthCalendar.py	Thu Jul 17 13:20:01 2008 +0200
+++ b/MoinMoin/macro/MonthCalendar.py	Fri Jul 18 09:54:43 2008 +0200
@@ -365,6 +365,7 @@
                             title = match.group(1)
                             title = wikiutil.escape(title).replace("'", "\\'")
                             titletext.append(title)
+                    link = wikiutil.escape(link).replace("'", "\\'")
                     tipname = link
                     tiptitle = link
                     tiptext = '<br>'.join(titletext)