# HG changeset patch # User abukhman # Date 1288002605 -7200 # Node ID 139432a41244b7e24365b0afad61b000359c6883 # Parent 33adbe14053400abca1a3362c841cc599207868c *** empty log message *** diff -r 33adbe140534 -r 139432a41244 MpdlXmlTextServer.py --- a/MpdlXmlTextServer.py Mon Oct 25 12:23:25 2010 +0200 +++ b/MpdlXmlTextServer.py Mon Oct 25 12:30:05 2010 +0200 @@ -215,7 +215,8 @@ #logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization) if highlightQuery is not None: - textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) + #textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) + textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&highlightQuery=%s&sn=%s"%(docpath,textmode,pn,characterNormalization, highlightQuery, sn) logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) pagexml = self.getServerData("page-fragment.xql",textParam) #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False)