on master help sign in
More examples
commit0fd67f01d0d0d9ce11fe90ee3f5e2f11ad228aab authorNeil Mitchell <ndmitchell@gmail.com> dateWed 30 Nov 2016, 19:08 (10 years ago) parent8d48941
1 file changed+2−1
src/Main.hs+2−1
src/Main.hs+2−1
@@ -11,11 +11,12 @@ import Data.Char
1111
1212examples :: [(Bool, BS.ByteString)]
1313examples =
14− [(True, "<test id=bob>here<extra/>there</test>")
14+ [(True, "<test id='bob'>here<extra/>there</test>")
1515 ,(True, "<test /><close />")
1616 ,(True, "<test id=\"bob value\" another-attr=\"test with <\">here </test> more text at the end<close />")
1717 ,(False, "<test></more>")
1818 ,(False, "<test")
19+ ,(True, "<?xml version=\"1.1\"?>\n<greeting>Hello, world!</greeting>")
1920 ]
2021
2122main :: IO ()