diff MoinMoin/wikimacro.py @ 410:1a2bd0457cf3

fix some wrong attributes, todo: fix quoting, see comment in text_html.url imported from: moin--main--1.5--patch-414
author Thomas Waldmann <tw@waldmann-edv.de>
date Fri, 03 Feb 2006 19:15:18 +0000
parents bea43f99cc27
children c85132ab35e3
line wrap: on
line diff
--- a/MoinMoin/wikimacro.py	Fri Feb 03 18:42:04 2006 +0000
+++ b/MoinMoin/wikimacro.py	Fri Feb 03 19:15:18 2006 +0000
@@ -310,7 +310,7 @@
         if 0: # if wikixml.ok: # XXX currently switched off (not implemented)
             from MoinMoin import wikixml
             index = (index + self.formatter.url(1, 
-                wikiutil.quoteWikinameURL(self.formatter.page.page_name) + "?action=rss_ti", unescaped=1) +
+                wikiutil.quoteWikinameURL(self.formatter.page.page_name) + "?action=rss_ti", do_escape=0) +
                      self.formatter.icon("rss") +
                      self.formatter.url(0))
 
@@ -567,7 +567,7 @@
         if self.request.user.valid:
             # decode address and generate mailto: link
             email = decodeSpamSafeEmail(email)
-            result = (self.formatter.url(1, 'mailto:' + email, css='mailto', unescaped=1) +
+            result = (self.formatter.url(1, 'mailto:' + email, css='mailto', do_escape=0) +
                       self.formatter.text(text or email) +
                       self.formatter.url(0))
         else: