Skip to content

Commit

Permalink
Fixed output from the render function to not have escaped characters (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
fredhsu authored Oct 31, 2023
1 parent 1c18e4d commit 421acdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/03-html/06-escaping_characters.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ ghci> :load Html.hs
[1 of 1] Compiling Html ( Html.hs, interpreted )
Ok, one module loaded.
ghci> render (html_ "<title>" (p_ "<body>"))
"<html><head><title>&lt;title&gt;</title></head><body><p>&lt;body&gt;</p></body></html>"
"<html><head><title><title></title><body><p><body</p></body></head></html>"
```
As well as import library modules:
Expand Down

0 comments on commit 421acdf

Please sign in to comment.