changeset 171:77d5ff742bb4

characterNormalization
author abukhman
date Tue, 24 Aug 2010 16:04:21 +0200
parents caf66e1fccd3
children 11cb88e7f523
files MpdlXmlTextServer.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Tue Aug 24 15:27:07 2010 +0200
+++ b/MpdlXmlTextServer.py	Tue Aug 24 16:04:21 2010 +0200
@@ -145,7 +145,7 @@
         else:
             textmode = mode
         #logging.debug("documentViewer (characterNormalization) characterNormalization: %s"%(characterNormalization))
-        textParam = "document=%s&mode=%s&pn=%s"%(docpath,textmode,pn)
+        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)           
         
@@ -302,7 +302,7 @@
         url = docinfo['url']
         selfurl = self.absolute_url()  
         viewMode=  pageinfo['viewMode']
-        characterNormalization =pageinfo ['characterNormalization']
+        characterNormalization = pageinfo ['characterNormalization']
         tocMode = pageinfo['tocMode']
         tocPN = pageinfo['tocPN']