changeset 183:abf83c1d6371

*** empty log message ***
author abukhman
date Fri, 24 Sep 2010 14:01:19 +0200
parents 60f0cbd12d27
children 4e33eeef676e
files MpdlXmlTextServer.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Fri Sep 24 13:55:35 2010 +0200
+++ b/MpdlXmlTextServer.py	Fri Sep 24 14:01:19 2010 +0200
@@ -147,10 +147,9 @@
         #logging.debug("documentViewer (characterNormalization) characterNormalization: %s"%(characterNormalization))
         textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization)
         if highlightQuery is not None:
-            textParam1 =urllib.quote(textParam)
-            textParam1 +="&highlightQuery=%s&sn=%s"%(highlightQuery,sn)           
+            textParam +="&highlightQuery=%s&sn=%s"%(highlightQuery,sn)           
         
-        pagexml = self.getServerData("page-fragment.xql",textParam1)
+        pagexml = self.getServerData("page-fragment.xql",textParam)
         #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False)
         
         pagedom = Parse(pagexml)