@@ -83,32 +83,32 @@ tests = [ testGroup "line blocks"
8383 , "</warning>"
8484 ]
8585 , "admonition-with-title" =:
86− divWith ("foo", ["attention"], []) (
86+ divWith ("foo", ["note"], []) (
8787 divWith ("foo", ["title"], [])
8888 (plain (text "This is title")) <>
8989 para "This is a test"
9090 )
9191 =?> unlines
92− [ "<attention id=\"foo\">"
92+ [ "<note id=\"foo\">"
9393 , " <title>This is title</title>"
9494 , " <para>"
9595 , " This is a test"
9696 , " </para>"
97− , "</attention>"
97+ , "</note>"
9898 ]
9999 , "admonition-with-title-in-para" =:
100− divWith ("foo", ["attention"], []) (
100+ divWith ("foo", ["note"], []) (
101101 divWith ("foo", ["title"], [])
102102 (para "This is title") <>
103103 para "This is a test"
104104 )
105105 =?> unlines
106− [ "<attention id=\"foo\">"
106+ [ "<note id=\"foo\">"
107107 , " <title>This is title</title>"
108108 , " <para>"
109109 , " This is a test"
110110 , " </para>"
111− , "</attention>"
111+ , "</note>"
112112 ]
113113 , "single-child" =:
114114 divWith ("foo", [], []) (para "This is a test")