@@ -99,11 +99,15 @@ tests = [ testGroup "base tag"
9999 plain (codeWith ("",["sample"],[]) "Answer is 42")
100100 ]
101101 , testGroup "var"
102− [
103− test html "inline var block" $
104− "<var>result</var>" =?>
105− plain (codeWith ("",["variable"],[]) "result")
106− ]
102+ [ test html "inline var block" $
103+ "<var>result</var>" =?>
104+ plain (codeWith ("",["variable"],[]) "result")
105+ ]
106+ , testGroup "header"
107+ [ test htmlNativeDivs "<header> is parsed as a div" $
108+ "<header id=\"title\">Title</header>" =?>
109+ divWith ("title", mempty, mempty) (plain "Title")
110+ ]
107111 , askOption $ \(QuickCheckTests numtests) ->
108112 testProperty "Round trip" $
109113 withMaxSuccess (if QuickCheckTests numtests == defaultValue