changeset 159:29fc850d4a6f

characterNormalization
author abukhman
date Tue, 24 Aug 2010 11:42:24 +0200
parents 4f4fe4e56ffe
children db9bcbbd5868
files zpt/page_main_text.zpt zpt/page_main_text_dict.zpt
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/page_main_text.zpt	Tue Aug 24 11:38:45 2010 +0200
+++ b/zpt/page_main_text.zpt	Tue Aug 24 11:42:24 2010 +0200
@@ -1,4 +1,4 @@
 
-<tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None) ;highlightQuery python:pageinfo.get('highlightQuery','');sn python:pageinfo.get('sn','')">
-  <div tal:content="structure python:here.getTextPage(mode='text',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, sn=sn, pageinfo=pageinfo)"></div>
+<tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None) ;highlightQuery python:pageinfo.get('highlightQuery','');sn python:pageinfo.get('sn',''); characterNormalization python:pageinfo.get('characterNormalization','')">
+  <div tal:content="structure python:here.getTextPage(mode='text',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, sn=sn, pageinfo=pageinfo, characterNormalization=characterNormalization)"></div>
 </tal:block>
\ No newline at end of file
--- a/zpt/page_main_text_dict.zpt	Tue Aug 24 11:38:45 2010 +0200
+++ b/zpt/page_main_text_dict.zpt	Tue Aug 24 11:42:24 2010 +0200
@@ -1,3 +1,3 @@
-<tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None) ;highlightQuery python:pageinfo.get('highlightQuery','');sn python:pageinfo.get('sn','')">
-  <div tal:content="structure python:here.getTextPage(mode='text_dict',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, sn=sn, pageinfo=pageinfo"></div>
+<tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None) ;highlightQuery python:pageinfo.get('highlightQuery','');sn python:pageinfo.get('sn','');characterNormalization python:pageinfo.get('characterNormalization','')">
+  <div tal:content="structure python:here.getTextPage(mode='text_dict',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, sn=sn, pageinfo=pageinfo, characterNormalization=characterNormalization)"></div>
 </tal:block>
\ No newline at end of file