Mercurial > hg > documentViewer
changeset 529:f0e28d31ebc6
fixed bug with viewmode xml.
author | casties |
---|---|
date | Thu, 26 Apr 2012 14:45:05 +0200 |
parents | f8a5f63eafc0 |
children | 5c7433c2515c |
files | MpdlXmlTextServer.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/MpdlXmlTextServer.py Fri Apr 13 16:55:16 2012 +0200 +++ b/MpdlXmlTextServer.py Thu Apr 26 14:45:05 2012 +0200 @@ -251,6 +251,10 @@ if 'dict' in modes: # dict is called textPollux in the backend textmode = 'textPollux' + elif 'xml' in modes: + # xml mode + textmode = 'xml' + textParams['characterNormalization'] = 'orig' else: # text is default mode textmode = 'text'