Mercurial > hg > documentViewer
changeset 187:0b27f1c1e34b
*** empty log message ***
author | abukhman |
---|---|
date | Fri, 24 Sep 2010 15:46:28 +0200 |
parents | 3b3476df97d4 |
children | a7610241ae57 |
files | MpdlXmlTextServer.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/MpdlXmlTextServer.py Fri Sep 24 14:23:12 2010 +0200 +++ b/MpdlXmlTextServer.py Fri Sep 24 15:46:28 2010 +0200 @@ -147,7 +147,7 @@ #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: - textParam +="&highlightQuery=%s&sn=%s"%(highlightQuery,sn) + textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) pagexml = self.getServerData("page-fragment.xql",textParam) #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False)