# HG changeset patch # User abukhman # Date 1288002670 -7200 # Node ID 36de9945504c8f503cea158b9248442ad1404cbf # Parent 139432a41244b7e24365b0afad61b000359c6883 *** empty log message *** diff -r 139432a41244 -r 36de9945504c MpdlXmlTextServer.py --- a/MpdlXmlTextServer.py Mon Oct 25 12:30:05 2010 +0200 +++ b/MpdlXmlTextServer.py Mon Oct 25 12:31:10 2010 +0200 @@ -213,7 +213,8 @@ else: textmode = mode #logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) - textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization) + #textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization) + textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&highlightQuery=%s&sn=%s"%(docpath,textmode,pn,characterNormalization, highlightQuery, sn) if highlightQuery is not None: #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)