git.iko.soy/typeable/pandoc
on master help sign in
Use attributes for author/date.
commitb7cbd42d071a296220b3a08a1b2ea333150ca198 authorJohn MacFarlane <fiddlosopher@gmail.com> dateThu 17 Nov 2011, 00:52 (15 years ago) parentfed2604
2 files changed+2−2
src/Text/Pandoc/Writers/Asciidoc.hs+1−1 templates+1−1
src/Text/Pandoc/Writers/Asciidoc.hs+1−1
@@ -52,7 +52,7 @@ pandocToAsciidoc :: WriterOptions -> Pandoc -> State WriterState String
5252pandocToAsciidoc opts (Pandoc (Meta title authors date) blocks) = do
5353 title' <- inlineListToAsciidoc opts title
5454 let title'' = title' $$ text (replicate (offset title') '=')
55− authors' <- take 1 `fmap` mapM (inlineListToAsciidoc opts) authors
55+ authors' <- mapM (inlineListToAsciidoc opts) authors
5656 -- asciidoc only allows a singel author
5757 date' <- inlineListToAsciidoc opts date
5858 let titleblock = not $ null title && null authors && null date
templates+1−1

Submodule changed.