Fix domify example in README.

This commit is contained in:
vi 2014-06-23 14:13:35 +08:00
parent a00ddec046
commit c517ee1be5

View File

@ -49,7 +49,7 @@ You can see this `domify` in action.
``` haskell
λ> :set -XOverloadedStrings
λ> head . domify . tagsIn $ "<html><head></head><body>yo</body></html>"
λ> head . domify . taggyWith False $ "<html><head></head><body>yo</body></html>"
NodeElement (Element {eltName = "html", eltAttrs = fromList [], eltChildren = [NodeElement (Element {eltName = "head", eltAttrs = fromList [], eltChildren = []}),NodeElement (Element {eltName = "body", eltAttrs = fromList [], eltChildren = [NodeContent "yo"]})]})
```