@@ -230,6 +230,31 @@ tests =
230 lineBlock [ "Foo bar" ] <>
230 lineBlock [ "Foo bar" ] <>
231 lineBlock [ "Foo bar" ] <>
231 lineBlock [ "Foo bar" ] <>
232 lineBlock [ "\160\160\160Foo" ]
232 lineBlock [ "\160\160\160Foo" ]
233+ , testGroup "Example tag"
234+ [ "Tags on separate lines" =:
235+ T.unlines [ "<example>"
239+ codeBlock "Example line"
241+ "<example>Example line</example>" =?>
242+ codeBlock "Example line"
243+ , "One blank line in the beginning" =:
244+ T.unlines [ "<example>"
249+ codeBlock "\nExample line"
250+ , "One blank line in the end" =:
251+ T.unlines [ "<example>"
256+ codeBlock "Example line\n"
233 , "Center" =: "<center>Hello, world</center>" =?> para (text "Hello, world")
258 , "Center" =: "<center>Hello, world</center>" =?> para (text "Hello, world")
234 , "Right" =: "<right>Hello, world</right>" =?> para (text "Hello, world")
259 , "Right" =: "<right>Hello, world</right>" =?> para (text "Hello, world")
235 , testGroup "Comments"
260 , testGroup "Comments"