changeset 372:36de9945504c

*** empty log message ***
author abukhman
date Mon, 25 Oct 2010 12:31:10 +0200
parents 139432a41244
children 0aa294b31236
files MpdlXmlTextServer.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)