mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-28 04:34:49 +02:00
FB2 Output: Properly escape metadata before inserting it into the file
This commit is contained in:
parent
872bda3472
commit
3840fa47cc
1 changed files with 3 additions and 2 deletions
|
|
@ -117,9 +117,10 @@ def fb2_header(self):
|
|||
'<book-title>%s</book-title> ' \
|
||||
'</title-info><document-info> ' \
|
||||
'<program-used>%s - %s</program-used></document-info>\n' \
|
||||
'</description>\n<body>\n<section>' % (author_first, author_middle,
|
||||
'</description>\n<body>\n<section>' % tuple(map(prepare_string_for_xml,
|
||||
(author_first, author_middle,
|
||||
author_last, self.oeb_book.metadata.title[0].value,
|
||||
__appname__, __version__)
|
||||
__appname__, __version__)))
|
||||
|
||||
def get_cover_page(self):
|
||||
output = u''
|
||||
|
|
|
|||
Loading…
Reference in a new issue