From 2c04d0b2bf353f340041c397bc5ebe7662364e68 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 12 May 2012 12:33:49 -0700 Subject: DocBook reader: Recognize example as block element. --- src/Text/Pandoc/Readers/DocBook.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') 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 -- cgit v1.2.3