@@ -83,7 +83,7 @@ tests = [ testGroup "base tag"
8383 , test htmlNativeDivs "<main role=X> becomes <div role=X>" $ "<main role=foobar>hello</main>" =?>
8484 doc (divWith ("", [], [("role", "foobar")]) (plain (text "hello")))
8585 , test htmlNativeDivs "<main> has attributes preserved" $ "<main id=foo class=bar data-baz=qux>hello</main>" =?>
86− doc (divWith ("foo", ["bar"], [("role", "main"), ("data-baz", "qux")]) (plain (text "hello")))
86+ doc (divWith ("foo", ["bar"], [("role", "main"), ("baz", "qux")]) (plain (text "hello")))
8787 , test htmlNativeDivs "<main> closes <p>" $ "<p>hello<main>main content</main>" =?>
8888 doc (para (text "hello") <> divWith ("", [], [("role", "main")]) (plain (text "main content")))
8989 , test htmlNativeDivs "<main> followed by text" $ "<main>main content</main>non-main content" =?>