aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-10 14:59:09 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-10 14:59:09 -0700
commita3b133b3d39c45f4b833ee94401cb80a15159214 (patch)
treeb0dc834df8648798e29351242910ec97834c4929
parent646a9823671b0e4011d8e40d03d99194def9ccc3 (diff)
Fixed broken "pre" literal HTML example.
Insides weren't escaped properly.
-rw-r--r--spec.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec.txt b/spec.txt
index ed9b8e2..bf8674a 100644
--- a/spec.txt
+++ b/spec.txt
@@ -1904,14 +1904,14 @@ A pre tag (type 1):
import Text.HTML.TagSoup
main :: IO ()
-main = print $ parseTags "<a href=\"foo\">bar</a>"
+main = print $ parseTags tags
</code></pre>
.
<pre language="haskell"><code>
import Text.HTML.TagSoup
main :: IO ()
-main = print $ parseTags "<a href=\"foo\">bar</a>"
+main = print $ parseTags tags
</code></pre>
.