changeset 325:277b07479dff

text_x_mathtran: formular needs the right encoding by wikiutil.url_quote
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 01 Jan 2009 21:45:53 +0100
parents b7fed7cdc13d
children 9239e8f5dc7d
files data/plugin/parser/text_x_mathtran.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_mathtran.py	Sat Dec 20 07:44:59 2008 +0100
+++ b/data/plugin/parser/text_x_mathtran.py	Thu Jan 01 21:45:53 2009 +0100
@@ -65,7 +65,7 @@
 
         text = """%(mathtran_server)s?;D=%(scale_factor)s;tex=%(formular)s""" % {
                                                                                  "mathtran_server": self.mathtran_server, 
-                                                                                 "formular": self.raw,
+                                                                                 "formular": wikiutil.url_quote(self.raw), 
                                                                                  "scale_factor": self.scale_factor,
                                                                                 }
         key = cache.key(self.request, itemname=self.pagename, content=text)