From 0c1ca17192fa408d7d731d07b9b44158268aaccc Mon Sep 17 00:00:00 2001 From: Andrey Efremov Date: Mon, 7 Oct 2019 12:28:49 +0700 Subject: [PATCH] FB2 Output: Annotation should be wrapped in p --- src/calibre/ebooks/fb2/fb2ml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/fb2/fb2ml.py b/src/calibre/ebooks/fb2/fb2ml.py index 4421623869..30791c8ed3 100644 --- a/src/calibre/ebooks/fb2/fb2ml.py +++ b/src/calibre/ebooks/fb2/fb2ml.py @@ -197,7 +197,7 @@ class FB2MLizer(object): metadata['comments'] = '' else: from calibre.utils.html2text import html2text - metadata['comments'] = '{}'.format(prepare_string_for_xml(html2text(comments.value.strip()))) + metadata['comments'] = '

{}

'.format(prepare_string_for_xml(html2text(comments.value).strip())) header = textwrap.dedent('''\