FB2 writer: fix order of items in title-info

Address issue #2424
This commit is contained in:
Alexander Krotov 2018-06-12 14:48:52 +03:00
parent 8b4728e284
commit 54d16545c9
2 changed files with 2 additions and 2 deletions

View file

@ -135,7 +135,7 @@ description meta' = do
Just (MetaString s) -> coverimage s
_ -> return []
return $ el "description"
[ el "title-info" (genre : (bt ++ annotation ++ as ++ dd ++ lang))
[ el "title-info" (genre : (as ++ bt ++ annotation ++ dd ++ lang))
, el "document-info" (el "program-used" "pandoc" : coverpage)
]

View file

@ -3,7 +3,6 @@
<description>
<title-info>
<genre>unrecognised</genre>
<book-title>Pandoc Test Suite</book-title>
<author>
<first-name>John</first-name>
<last-name>MacFarlane</last-name>
@ -11,6 +10,7 @@
<author>
<nickname>Anonymous</nickname>
</author>
<book-title>Pandoc Test Suite</book-title>
<date>July 17, 2006</date>
</title-info>
<document-info>