Fix escape error in BookReport.py.
svn: r8427
This commit is contained in:
		@@ -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>
 | 
			
		||||
	* src/DbLoader.py: Fix exception message.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -388,7 +388,7 @@ class BookList:
 | 
			
		||||
                    else:
 | 
			
		||||
                        option_type = Utils.type_name(option_value)
 | 
			
		||||
                        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' % 
 | 
			
		||||
                        escxml(option_handler.get_person_id()) )
 | 
			
		||||
                f.write('    <style name="%s"/>\n' % escxml(item.get_style_name()) )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user