Mercurial > hg > documentViewer
changeset 266:f06b992a5b24
*** empty log message ***
author | abukhman |
---|---|
date | Wed, 13 Oct 2010 18:42:19 +0200 |
parents | 4a0dd5ff6859 |
children | e736f020ef3b |
files | MpdlXmlTextServer.py |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/MpdlXmlTextServer.py Wed Oct 13 18:38:29 2010 +0200 +++ b/MpdlXmlTextServer.py Wed Oct 13 18:42:19 2010 +0200 @@ -157,9 +157,10 @@ logging.debug("documentViewer getGisPlaces (characterNormalization) l:%s"%(l)) if hrefNode: href= hrefNode.nodeValue - if href.startswith('id='): - hrefNode.nodeValue = href.replace('id=',"?") - logging.debug("documentViewer getGisPlaces (characterNormalization) hrefNode.nodeValue:%s"%(hrefNode.nodeValue)) + if href.startswith('N'): + #hrefNode.nodeValue = href.replace('id=',"?") + logging.debug("documentViewer getGisPlaces (characterNormalization) hrefNode.nodeValue:%s"%(hrefNode.nodeValue)) + logging.debug("documentViewer getGisPlaces (characterNormalization) href:%s"%(href)) return serializeNode(pagenode) def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""):