Fix Book XML handler for unusual characters in report name

Issue #10387
This commit is contained in:
prculley 2018-01-26 10:07:51 -06:00 committed by Nick Hall
parent 9706af03b4
commit d31ced9ca5

View File

@ -566,7 +566,7 @@ class BookList:
'\n' % book.get_format_name())
if book.get_output():
b_f.write(' <output name="%s"/>'
'\n' % book.get_output())
'\n' % escape(book.get_output()))
b_f.write(' </book>\n')
b_f.write('</booklist>\n')