FB2 writer: Add newline to output.
This commit is contained in:
parent
4c03231e9b
commit
fcd1599b09
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ writeFB2 opts (Pandoc meta blocks) = flip evalStateT newFB $ do
|
|||
(imgs,missing) <- liftM imagesToFetch get >>= \s -> liftIO (fetchImages s)
|
||||
let body' = replaceImagesWithAlt missing body
|
||||
let fb2_xml = el "FictionBook" (fb2_attrs, [desc, body'] ++ notes ++ imgs)
|
||||
return $ xml_head ++ (showContent fb2_xml)
|
||||
return $ xml_head ++ (showContent fb2_xml) ++ "\n"
|
||||
where
|
||||
xml_head = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
|
||||
fb2_attrs =
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue