mirror of
https://github.com/alpmestan/taggy.git
synced 2024-08-16 18:30:30 +03:00
Merge pull request #2 from fmapfmapfmap/fix-readme
README correction; domify example.
This commit is contained in:
commit
55085a9136
@ -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