mirror of
https://github.com/alpmestan/taggy.git
synced 2024-09-11 15:05:40 +03:00
Fix domify
example in README.
This commit is contained in:
parent
a00ddec046
commit
c517ee1be5
@ -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"]})]})
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user