aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2011-11-18 19:44:15 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2011-11-18 19:44:15 -0800
commitc1710f9bde6d84da4a40c825da558714cf058e25 (patch)
tree0b3df31df87f7e16899cf58ecc432a192304361a /src/Text
parent457571e0c896d7ffbd7f53c9df4a9067d9ba0f68 (diff)
downloadpandoc-c1710f9bde6d84da4a40c825da558714cf058e25.tar.gz
Skip raw HTML blocks in asciidoc.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Writers/Asciidoc.hs2
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