aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-06-12 14:48:52 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-06-12 14:48:52 +0300
commit54d16545c970dcb3fefdd16f2f48c6dfaefff727 (patch)
tree067b567152f714b5da746d9de35e55c4f186fa05 /src
parent8b4728e2849898bd3d6ff151b6585db4a5626fba (diff)
downloadpandoc-54d16545c970dcb3fefdd16f2f48c6dfaefff727.tar.gz
FB2 writer: fix order of items in title-info
Address issue #2424
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/FB2.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/FB2.hs b/src/Text/Pandoc/Writers/FB2.hs
index a46011a8f..bac3121d9 100644
--- a/src/Text/Pandoc/Writers/FB2.hs
+++ b/src/Text/Pandoc/Writers/FB2.hs
@@ -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)
]