changeset 185:6fb9a06b8bee

*** empty log message ***
author abukhman
date Fri, 24 Sep 2010 14:22:15 +0200
parents 4e33eeef676e
children 3b3476df97d4
files MpdlXmlTextServer.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Fri Sep 24 14:21:00 2010 +0200
+++ b/MpdlXmlTextServer.py	Fri Sep 24 14:22:15 2010 +0200
@@ -149,10 +149,10 @@
         if highlightQuery is not None:
             textParam +="&highlightQuery=%s&sn=%s"%(highlightQuery,sn)           
         
-        pagexml = self.getServerData("page-fragment.xql",urllib.quote(textParam))
+        pagexml = self.getServerData("page-fragment.xql",textParam)
         #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False)
         
-        pagedom = Parse(pagexml)
+        pagedom = Parse(urllib.quote(pagexml))
         # plain text mode
         if mode == "text":
             # first div contains text