summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-05-12 12:33:49 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-05-12 12:33:49 -0700
commit2c04d0b2bf353f340041c397bc5ebe7662364e68 (patch)
treee1cba255f3bae8a33db6698e444a3c553b488282 /src/Text/Pandoc/Readers
parent1c26f2c516bc8db1073dbe5f46bb14d512d1c7bb (diff)
DocBook reader: Recognize example as block element.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/DocBook.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/DocBook.hs b/src/Text/Pandoc/Readers/DocBook.hs
index f2f24b6cc..1f8760b2e 100644
--- a/src/Text/Pandoc/Readers/DocBook.hs
+++ b/src/Text/Pandoc/Readers/DocBook.hs
@@ -557,7 +557,7 @@ isBlockElement (Elem e) = qName (elName e) `elem` blocktags
"important","caution","note","tip","warning","qandadiv",
"question","answer","abstract","itemizedlist","orderedlist",
"variablelist","article","book","table","informaltable",
- "screen","programlisting"]
+ "screen","programlisting","example"]
isBlockElement _ = False
-- Trim leading and trailing newline characters