Changeset 155:47f8cfc180bd in documentViewer
- Timestamp:
- Aug 24, 2010, 9:22:31 AM (15 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r154 r155 166 166 href= hrefNode.nodeValue 167 167 if href.startswith('#note-'): 168 hrefNode.nodeValue = href.replace('#note-',"?url=%s&viewMode=%s&tocMode=%s& characterNormalization=%s&tocPN=%s&pn=%s#note-"%(url,viewMode,tocMode,characterNormalization,tocPN,pn))168 hrefNode.nodeValue = href.replace('#note-',"?url=%s&viewMode=%s&tocMode=%s&tocPN=%s&pn=%s#note-"%(url,viewMode,tocMode,tocPN,pn)) 169 169 return serializeNode(pagenode) 170 170 if mode == "xml": … … 216 216 l.setAttributeNS(None, 'onClick', 'popupWin.focus();') 217 217 if href.startswith('#note-'): 218 hrefNode.nodeValue = href.replace('#note-',"?url=%s&viewMode=%s&tocMode=%s& characterNormalization=%s&tocPN=%s&pn=%s#note-"%(url,viewMode,tocMode,characterNormalization,tocPN,pn))218 hrefNode.nodeValue = href.replace('#note-',"?url=%s&viewMode=%s&tocMode=%s&tocPN=%s&pn=%s#note-"%(url,viewMode,tocMode,tocPN,pn)) 219 219 return serializeNode(pagenode) 220 220 return "no text here"
Note: See TracChangeset
for help on using the changeset viewer.