DocBook reader: Recognize example as block element.

This commit is contained in:
John MacFarlane 2012-05-12 12:33:49 -07:00
parent 1c26f2c516
commit 2c04d0b2bf

View file

@ -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