issue 2688: some wrong bindings and <super> not working yet. All should work now

svn: r11957
This commit is contained in:
Benny Malengier
2009-02-10 23:07:35 +00:00
parent a9a8cb47dc
commit cfadb3fafc
9 changed files with 80 additions and 55 deletions

View File

@ -3,6 +3,7 @@
#
# Copyright (C) 2000-2006 Donald N. Allingham
# Copyright (C) 2007-2008 Brian G. Matherly
# Copyright (C) 2009 Benny Malengier <benny.malengier@gramps-project.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -464,8 +465,6 @@ class HtmlDoc(BaseDoc.BaseDoc,BaseDoc.TextDoc):
text = text.replace('<','&lt;');
text = text.replace('>','&gt;');
text = text.replace('\n','<br>')
text = text.replace('&lt;super&gt;','<sup>')
text = text.replace('&lt;/super&gt;','</sup>')
if text != "":
self.empty = 0
self.f.write(text)