diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-11-18 19:44:15 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-11-18 19:44:15 -0800 |
commit | c1710f9bde6d84da4a40c825da558714cf058e25 (patch) | |
tree | 0b3df31df87f7e16899cf58ecc432a192304361a /src/Text/Pandoc/Writers/Asciidoc.hs | |
parent | 457571e0c896d7ffbd7f53c9df4a9067d9ba0f68 (diff) | |
download | pandoc-c1710f9bde6d84da4a40c825da558714cf058e25.tar.gz |
Skip raw HTML blocks in asciidoc.
Diffstat (limited to 'src/Text/Pandoc/Writers/Asciidoc.hs')
-rw-r--r-- | src/Text/Pandoc/Writers/Asciidoc.hs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/Asciidoc.hs b/src/Text/Pandoc/Writers/Asciidoc.hs index a4ed7f98d..91930ac68 100644 --- a/src/Text/Pandoc/Writers/Asciidoc.hs +++ b/src/Text/Pandoc/Writers/Asciidoc.hs @@ -123,8 +123,6 @@ blockToAsciidoc opts (Para inlines) = do then text "\\" else empty return $ esc <> contents <> blankline -blockToAsciidoc _ (RawBlock f str) | f == "html" || f == "docbook" = do - return $ blankline $$ "+++" $$ text str $$ "+++" <> blankline blockToAsciidoc _ (RawBlock _ _) = return empty blockToAsciidoc _ HorizontalRule = return $ blankline <> text "'''''" <> blankline |