--- documentViewer/MpdlXmlTextServer.py 2010/10/25 10:30:05 1.191 +++ documentViewer/MpdlXmlTextServer.py 2010/10/25 10:31:10 1.192 @@ -213,7 +213,8 @@ class MpdlXmlTextServer(SimpleItem): 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)