Fix escape error in BookReport.py.
svn: r8427
This commit is contained in:
parent
d678156e25
commit
6bcc3e8c30
@ -1,3 +1,6 @@
|
|||||||
|
2007-04-27 Brian Matherly <brian@gramps-project.org>
|
||||||
|
* src/plugins/BookReport.py: Fix escape error.
|
||||||
|
|
||||||
2007-04-27 Brian Matherly <brian@gramps-project.org>
|
2007-04-27 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/DbLoader.py: Fix exception message.
|
* src/DbLoader.py: Fix exception message.
|
||||||
|
|
||||||
|
@ -388,7 +388,7 @@ class BookList:
|
|||||||
else:
|
else:
|
||||||
option_type = Utils.type_name(option_value)
|
option_type = Utils.type_name(option_value)
|
||||||
f.write(' <option name="%s" type="%s" value="%s"/>\n' % (
|
f.write(' <option name="%s" type="%s" value="%s"/>\n' % (
|
||||||
escxml(option_name), escxml(option_type), escxml(option_value)) )
|
escxml(option_name), escxml(option_type), escxml(str(option_value))) )
|
||||||
f.write(' <person gramps_id="%s"/>\n' %
|
f.write(' <person gramps_id="%s"/>\n' %
|
||||||
escxml(option_handler.get_person_id()) )
|
escxml(option_handler.get_person_id()) )
|
||||||
f.write(' <style name="%s"/>\n' % escxml(item.get_style_name()) )
|
f.write(' <style name="%s"/>\n' % escxml(item.get_style_name()) )
|
||||||
|
Loading…
Reference in New Issue
Block a user