mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 02:06:32 +00:00
FB2 writer: Add newline to output.
This commit is contained in:
@@ -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 =
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user