diff --git a/blaze-html.cabal b/blaze-html.cabal
--- a/blaze-html.cabal
+++ b/blaze-html.cabal
@@ -1,5 +1,5 @@
 Name:         blaze-html
-Version:      0.6.0.0
+Version:      0.6.1.0
 Homepage:     http://jaspervdj.be/blaze
 Bug-Reports:  http://github.com/jaspervdj/blaze-html/issues
 License:      BSD3
diff --git a/src/Text/Blaze/Html4/FrameSet.hs b/src/Text/Blaze/Html4/FrameSet.hs
--- a/src/Text/Blaze/Html4/FrameSet.hs
+++ b/src/Text/Blaze/Html4/FrameSet.hs
@@ -135,7 +135,7 @@
 --
 -- Example:
 --
--- > docTypeHtml $ span $ text "foo"
+-- > docTypeHtml $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -155,7 +155,7 @@
 --
 -- Example:
 --
--- > a $ span $ text "foo"
+-- > a $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -173,7 +173,7 @@
 --
 -- Example:
 --
--- > abbr $ span $ text "foo"
+-- > abbr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -191,7 +191,7 @@
 --
 -- Example:
 --
--- > acronym $ span $ text "foo"
+-- > acronym $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -209,7 +209,7 @@
 --
 -- Example:
 --
--- > address $ span $ text "foo"
+-- > address $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -227,7 +227,7 @@
 --
 -- Example:
 --
--- > applet $ span $ text "foo"
+-- > applet $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -262,7 +262,7 @@
 --
 -- Example:
 --
--- > b $ span $ text "foo"
+-- > b $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -297,7 +297,7 @@
 --
 -- Example:
 --
--- > bdo $ span $ text "foo"
+-- > bdo $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -315,7 +315,7 @@
 --
 -- Example:
 --
--- > big $ span $ text "foo"
+-- > big $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -333,7 +333,7 @@
 --
 -- Example:
 --
--- > blockquote $ span $ text "foo"
+-- > blockquote $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -351,7 +351,7 @@
 --
 -- Example:
 --
--- > body $ span $ text "foo"
+-- > body $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -386,7 +386,7 @@
 --
 -- Example:
 --
--- > button $ span $ text "foo"
+-- > button $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -404,7 +404,7 @@
 --
 -- Example:
 --
--- > caption $ span $ text "foo"
+-- > caption $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -422,7 +422,7 @@
 --
 -- Example:
 --
--- > center $ span $ text "foo"
+-- > center $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -440,7 +440,7 @@
 --
 -- Example:
 --
--- > cite $ span $ text "foo"
+-- > cite $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -458,7 +458,7 @@
 --
 -- Example:
 --
--- > code $ span $ text "foo"
+-- > code $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -493,7 +493,7 @@
 --
 -- Example:
 --
--- > colgroup $ span $ text "foo"
+-- > colgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -511,7 +511,7 @@
 --
 -- Example:
 --
--- > dd $ span $ text "foo"
+-- > dd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -529,7 +529,7 @@
 --
 -- Example:
 --
--- > del $ span $ text "foo"
+-- > del $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -547,7 +547,7 @@
 --
 -- Example:
 --
--- > dfn $ span $ text "foo"
+-- > dfn $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -565,7 +565,7 @@
 --
 -- Example:
 --
--- > dir $ span $ text "foo"
+-- > dir $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -583,7 +583,7 @@
 --
 -- Example:
 --
--- > div $ span $ text "foo"
+-- > div $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -601,7 +601,7 @@
 --
 -- Example:
 --
--- > dl $ span $ text "foo"
+-- > dl $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -619,7 +619,7 @@
 --
 -- Example:
 --
--- > dt $ span $ text "foo"
+-- > dt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -637,7 +637,7 @@
 --
 -- Example:
 --
--- > em $ span $ text "foo"
+-- > em $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -655,7 +655,7 @@
 --
 -- Example:
 --
--- > fieldset $ span $ text "foo"
+-- > fieldset $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -673,7 +673,7 @@
 --
 -- Example:
 --
--- > font $ span $ text "foo"
+-- > font $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -691,7 +691,7 @@
 --
 -- Example:
 --
--- > form $ span $ text "foo"
+-- > form $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -726,7 +726,7 @@
 --
 -- Example:
 --
--- > frameset $ span $ text "foo"
+-- > frameset $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -744,7 +744,7 @@
 --
 -- Example:
 --
--- > h1 $ span $ text "foo"
+-- > h1 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -762,7 +762,7 @@
 --
 -- Example:
 --
--- > h2 $ span $ text "foo"
+-- > h2 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -780,7 +780,7 @@
 --
 -- Example:
 --
--- > h3 $ span $ text "foo"
+-- > h3 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -798,7 +798,7 @@
 --
 -- Example:
 --
--- > h4 $ span $ text "foo"
+-- > h4 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -816,7 +816,7 @@
 --
 -- Example:
 --
--- > h5 $ span $ text "foo"
+-- > h5 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -834,7 +834,7 @@
 --
 -- Example:
 --
--- > h6 $ span $ text "foo"
+-- > h6 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -852,7 +852,7 @@
 --
 -- Example:
 --
--- > head $ span $ text "foo"
+-- > head $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -887,7 +887,7 @@
 --
 -- Example:
 --
--- > html $ span $ text "foo"
+-- > html $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -905,7 +905,7 @@
 --
 -- Example:
 --
--- > i $ span $ text "foo"
+-- > i $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -923,7 +923,7 @@
 --
 -- Example:
 --
--- > iframe $ span $ text "foo"
+-- > iframe $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -975,7 +975,7 @@
 --
 -- Example:
 --
--- > ins $ span $ text "foo"
+-- > ins $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -993,7 +993,7 @@
 --
 -- Example:
 --
--- > isindex $ span $ text "foo"
+-- > isindex $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1011,7 +1011,7 @@
 --
 -- Example:
 --
--- > kbd $ span $ text "foo"
+-- > kbd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1029,7 +1029,7 @@
 --
 -- Example:
 --
--- > label $ span $ text "foo"
+-- > label $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1047,7 +1047,7 @@
 --
 -- Example:
 --
--- > legend $ span $ text "foo"
+-- > legend $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1065,7 +1065,7 @@
 --
 -- Example:
 --
--- > li $ span $ text "foo"
+-- > li $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1100,7 +1100,7 @@
 --
 -- Example:
 --
--- > map $ span $ text "foo"
+-- > map $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1118,7 +1118,7 @@
 --
 -- Example:
 --
--- > menu $ span $ text "foo"
+-- > menu $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1153,7 +1153,7 @@
 --
 -- Example:
 --
--- > noframes $ span $ text "foo"
+-- > noframes $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1171,7 +1171,7 @@
 --
 -- Example:
 --
--- > noscript $ span $ text "foo"
+-- > noscript $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1189,7 +1189,7 @@
 --
 -- Example:
 --
--- > object $ span $ text "foo"
+-- > object $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1207,7 +1207,7 @@
 --
 -- Example:
 --
--- > ol $ span $ text "foo"
+-- > ol $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1225,7 +1225,7 @@
 --
 -- Example:
 --
--- > optgroup $ span $ text "foo"
+-- > optgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1243,7 +1243,7 @@
 --
 -- Example:
 --
--- > option $ span $ text "foo"
+-- > option $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1261,7 +1261,7 @@
 --
 -- Example:
 --
--- > p $ span $ text "foo"
+-- > p $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1296,7 +1296,7 @@
 --
 -- Example:
 --
--- > pre $ span $ text "foo"
+-- > pre $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1314,7 +1314,7 @@
 --
 -- Example:
 --
--- > q $ span $ text "foo"
+-- > q $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1332,7 +1332,7 @@
 --
 -- Example:
 --
--- > s $ span $ text "foo"
+-- > s $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1350,7 +1350,7 @@
 --
 -- Example:
 --
--- > samp $ span $ text "foo"
+-- > samp $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1368,7 +1368,7 @@
 --
 -- Example:
 --
--- > script $ span $ text "foo"
+-- > script $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1386,7 +1386,7 @@
 --
 -- Example:
 --
--- > select $ span $ text "foo"
+-- > select $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1404,7 +1404,7 @@
 --
 -- Example:
 --
--- > small $ span $ text "foo"
+-- > small $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1422,7 +1422,7 @@
 --
 -- Example:
 --
--- > span $ span $ text "foo"
+-- > span $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1440,7 +1440,7 @@
 --
 -- Example:
 --
--- > strong $ span $ text "foo"
+-- > strong $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1458,7 +1458,7 @@
 --
 -- Example:
 --
--- > style $ span $ text "foo"
+-- > style $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1476,7 +1476,7 @@
 --
 -- Example:
 --
--- > sub $ span $ text "foo"
+-- > sub $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1494,7 +1494,7 @@
 --
 -- Example:
 --
--- > sup $ span $ text "foo"
+-- > sup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1512,7 +1512,7 @@
 --
 -- Example:
 --
--- > table $ span $ text "foo"
+-- > table $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1530,7 +1530,7 @@
 --
 -- Example:
 --
--- > tbody $ span $ text "foo"
+-- > tbody $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1548,7 +1548,7 @@
 --
 -- Example:
 --
--- > td $ span $ text "foo"
+-- > td $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1566,7 +1566,7 @@
 --
 -- Example:
 --
--- > textarea $ span $ text "foo"
+-- > textarea $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1584,7 +1584,7 @@
 --
 -- Example:
 --
--- > tfoot $ span $ text "foo"
+-- > tfoot $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1602,7 +1602,7 @@
 --
 -- Example:
 --
--- > th $ span $ text "foo"
+-- > th $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1620,7 +1620,7 @@
 --
 -- Example:
 --
--- > thead $ span $ text "foo"
+-- > thead $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1638,7 +1638,7 @@
 --
 -- Example:
 --
--- > title $ span $ text "foo"
+-- > title $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1656,7 +1656,7 @@
 --
 -- Example:
 --
--- > tr $ span $ text "foo"
+-- > tr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1674,7 +1674,7 @@
 --
 -- Example:
 --
--- > tt $ span $ text "foo"
+-- > tt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1692,7 +1692,7 @@
 --
 -- Example:
 --
--- > u $ span $ text "foo"
+-- > u $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1710,7 +1710,7 @@
 --
 -- Example:
 --
--- > ul $ span $ text "foo"
+-- > ul $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1728,7 +1728,7 @@
 --
 -- Example:
 --
--- > var $ span $ text "foo"
+-- > var $ span $ toHtml "foo"
 --
 -- Result:
 --
diff --git a/src/Text/Blaze/Html4/Strict.hs b/src/Text/Blaze/Html4/Strict.hs
--- a/src/Text/Blaze/Html4/Strict.hs
+++ b/src/Text/Blaze/Html4/Strict.hs
@@ -122,7 +122,7 @@
 --
 -- Example:
 --
--- > docTypeHtml $ span $ text "foo"
+-- > docTypeHtml $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -142,7 +142,7 @@
 --
 -- Example:
 --
--- > a $ span $ text "foo"
+-- > a $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -160,7 +160,7 @@
 --
 -- Example:
 --
--- > abbr $ span $ text "foo"
+-- > abbr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -178,7 +178,7 @@
 --
 -- Example:
 --
--- > acronym $ span $ text "foo"
+-- > acronym $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -196,7 +196,7 @@
 --
 -- Example:
 --
--- > address $ span $ text "foo"
+-- > address $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -231,7 +231,7 @@
 --
 -- Example:
 --
--- > b $ span $ text "foo"
+-- > b $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -249,7 +249,7 @@
 --
 -- Example:
 --
--- > bdo $ span $ text "foo"
+-- > bdo $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -267,7 +267,7 @@
 --
 -- Example:
 --
--- > big $ span $ text "foo"
+-- > big $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -285,7 +285,7 @@
 --
 -- Example:
 --
--- > blockquote $ span $ text "foo"
+-- > blockquote $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -303,7 +303,7 @@
 --
 -- Example:
 --
--- > body $ span $ text "foo"
+-- > body $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -338,7 +338,7 @@
 --
 -- Example:
 --
--- > button $ span $ text "foo"
+-- > button $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -356,7 +356,7 @@
 --
 -- Example:
 --
--- > caption $ span $ text "foo"
+-- > caption $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -374,7 +374,7 @@
 --
 -- Example:
 --
--- > cite $ span $ text "foo"
+-- > cite $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -392,7 +392,7 @@
 --
 -- Example:
 --
--- > code $ span $ text "foo"
+-- > code $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -427,7 +427,7 @@
 --
 -- Example:
 --
--- > colgroup $ span $ text "foo"
+-- > colgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -445,7 +445,7 @@
 --
 -- Example:
 --
--- > dd $ span $ text "foo"
+-- > dd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -463,7 +463,7 @@
 --
 -- Example:
 --
--- > del $ span $ text "foo"
+-- > del $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -481,7 +481,7 @@
 --
 -- Example:
 --
--- > dfn $ span $ text "foo"
+-- > dfn $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -499,7 +499,7 @@
 --
 -- Example:
 --
--- > div $ span $ text "foo"
+-- > div $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -517,7 +517,7 @@
 --
 -- Example:
 --
--- > dl $ span $ text "foo"
+-- > dl $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -535,7 +535,7 @@
 --
 -- Example:
 --
--- > dt $ span $ text "foo"
+-- > dt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -553,7 +553,7 @@
 --
 -- Example:
 --
--- > em $ span $ text "foo"
+-- > em $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -571,7 +571,7 @@
 --
 -- Example:
 --
--- > fieldset $ span $ text "foo"
+-- > fieldset $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -589,7 +589,7 @@
 --
 -- Example:
 --
--- > form $ span $ text "foo"
+-- > form $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -607,7 +607,7 @@
 --
 -- Example:
 --
--- > h1 $ span $ text "foo"
+-- > h1 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -625,7 +625,7 @@
 --
 -- Example:
 --
--- > h2 $ span $ text "foo"
+-- > h2 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -643,7 +643,7 @@
 --
 -- Example:
 --
--- > h3 $ span $ text "foo"
+-- > h3 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -661,7 +661,7 @@
 --
 -- Example:
 --
--- > h4 $ span $ text "foo"
+-- > h4 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -679,7 +679,7 @@
 --
 -- Example:
 --
--- > h5 $ span $ text "foo"
+-- > h5 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -697,7 +697,7 @@
 --
 -- Example:
 --
--- > h6 $ span $ text "foo"
+-- > h6 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -715,7 +715,7 @@
 --
 -- Example:
 --
--- > head $ span $ text "foo"
+-- > head $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -750,7 +750,7 @@
 --
 -- Example:
 --
--- > html $ span $ text "foo"
+-- > html $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -768,7 +768,7 @@
 --
 -- Example:
 --
--- > i $ span $ text "foo"
+-- > i $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -820,7 +820,7 @@
 --
 -- Example:
 --
--- > ins $ span $ text "foo"
+-- > ins $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -838,7 +838,7 @@
 --
 -- Example:
 --
--- > kbd $ span $ text "foo"
+-- > kbd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -856,7 +856,7 @@
 --
 -- Example:
 --
--- > label $ span $ text "foo"
+-- > label $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -874,7 +874,7 @@
 --
 -- Example:
 --
--- > legend $ span $ text "foo"
+-- > legend $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -892,7 +892,7 @@
 --
 -- Example:
 --
--- > li $ span $ text "foo"
+-- > li $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -927,7 +927,7 @@
 --
 -- Example:
 --
--- > map $ span $ text "foo"
+-- > map $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -962,7 +962,7 @@
 --
 -- Example:
 --
--- > noscript $ span $ text "foo"
+-- > noscript $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -980,7 +980,7 @@
 --
 -- Example:
 --
--- > object $ span $ text "foo"
+-- > object $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -998,7 +998,7 @@
 --
 -- Example:
 --
--- > ol $ span $ text "foo"
+-- > ol $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1016,7 +1016,7 @@
 --
 -- Example:
 --
--- > optgroup $ span $ text "foo"
+-- > optgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1034,7 +1034,7 @@
 --
 -- Example:
 --
--- > option $ span $ text "foo"
+-- > option $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1052,7 +1052,7 @@
 --
 -- Example:
 --
--- > p $ span $ text "foo"
+-- > p $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1087,7 +1087,7 @@
 --
 -- Example:
 --
--- > pre $ span $ text "foo"
+-- > pre $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1105,7 +1105,7 @@
 --
 -- Example:
 --
--- > q $ span $ text "foo"
+-- > q $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1123,7 +1123,7 @@
 --
 -- Example:
 --
--- > samp $ span $ text "foo"
+-- > samp $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1141,7 +1141,7 @@
 --
 -- Example:
 --
--- > script $ span $ text "foo"
+-- > script $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1159,7 +1159,7 @@
 --
 -- Example:
 --
--- > select $ span $ text "foo"
+-- > select $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1177,7 +1177,7 @@
 --
 -- Example:
 --
--- > small $ span $ text "foo"
+-- > small $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1195,7 +1195,7 @@
 --
 -- Example:
 --
--- > span $ span $ text "foo"
+-- > span $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1213,7 +1213,7 @@
 --
 -- Example:
 --
--- > strong $ span $ text "foo"
+-- > strong $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1231,7 +1231,7 @@
 --
 -- Example:
 --
--- > style $ span $ text "foo"
+-- > style $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1249,7 +1249,7 @@
 --
 -- Example:
 --
--- > sub $ span $ text "foo"
+-- > sub $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1267,7 +1267,7 @@
 --
 -- Example:
 --
--- > sup $ span $ text "foo"
+-- > sup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1285,7 +1285,7 @@
 --
 -- Example:
 --
--- > table $ span $ text "foo"
+-- > table $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1303,7 +1303,7 @@
 --
 -- Example:
 --
--- > tbody $ span $ text "foo"
+-- > tbody $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1321,7 +1321,7 @@
 --
 -- Example:
 --
--- > td $ span $ text "foo"
+-- > td $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1339,7 +1339,7 @@
 --
 -- Example:
 --
--- > textarea $ span $ text "foo"
+-- > textarea $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1357,7 +1357,7 @@
 --
 -- Example:
 --
--- > tfoot $ span $ text "foo"
+-- > tfoot $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1375,7 +1375,7 @@
 --
 -- Example:
 --
--- > th $ span $ text "foo"
+-- > th $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1393,7 +1393,7 @@
 --
 -- Example:
 --
--- > thead $ span $ text "foo"
+-- > thead $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1411,7 +1411,7 @@
 --
 -- Example:
 --
--- > title $ span $ text "foo"
+-- > title $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1429,7 +1429,7 @@
 --
 -- Example:
 --
--- > tr $ span $ text "foo"
+-- > tr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1447,7 +1447,7 @@
 --
 -- Example:
 --
--- > tt $ span $ text "foo"
+-- > tt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1465,7 +1465,7 @@
 --
 -- Example:
 --
--- > ul $ span $ text "foo"
+-- > ul $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1483,7 +1483,7 @@
 --
 -- Example:
 --
--- > var $ span $ text "foo"
+-- > var $ span $ toHtml "foo"
 --
 -- Result:
 --
diff --git a/src/Text/Blaze/Html4/Transitional.hs b/src/Text/Blaze/Html4/Transitional.hs
--- a/src/Text/Blaze/Html4/Transitional.hs
+++ b/src/Text/Blaze/Html4/Transitional.hs
@@ -133,7 +133,7 @@
 --
 -- Example:
 --
--- > docTypeHtml $ span $ text "foo"
+-- > docTypeHtml $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -153,7 +153,7 @@
 --
 -- Example:
 --
--- > a $ span $ text "foo"
+-- > a $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -171,7 +171,7 @@
 --
 -- Example:
 --
--- > abbr $ span $ text "foo"
+-- > abbr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -189,7 +189,7 @@
 --
 -- Example:
 --
--- > acronym $ span $ text "foo"
+-- > acronym $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -207,7 +207,7 @@
 --
 -- Example:
 --
--- > address $ span $ text "foo"
+-- > address $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -225,7 +225,7 @@
 --
 -- Example:
 --
--- > applet $ span $ text "foo"
+-- > applet $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -260,7 +260,7 @@
 --
 -- Example:
 --
--- > b $ span $ text "foo"
+-- > b $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -295,7 +295,7 @@
 --
 -- Example:
 --
--- > bdo $ span $ text "foo"
+-- > bdo $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -313,7 +313,7 @@
 --
 -- Example:
 --
--- > big $ span $ text "foo"
+-- > big $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -331,7 +331,7 @@
 --
 -- Example:
 --
--- > blockquote $ span $ text "foo"
+-- > blockquote $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -349,7 +349,7 @@
 --
 -- Example:
 --
--- > body $ span $ text "foo"
+-- > body $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -384,7 +384,7 @@
 --
 -- Example:
 --
--- > button $ span $ text "foo"
+-- > button $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -402,7 +402,7 @@
 --
 -- Example:
 --
--- > caption $ span $ text "foo"
+-- > caption $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -420,7 +420,7 @@
 --
 -- Example:
 --
--- > center $ span $ text "foo"
+-- > center $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -438,7 +438,7 @@
 --
 -- Example:
 --
--- > cite $ span $ text "foo"
+-- > cite $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -456,7 +456,7 @@
 --
 -- Example:
 --
--- > code $ span $ text "foo"
+-- > code $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -491,7 +491,7 @@
 --
 -- Example:
 --
--- > colgroup $ span $ text "foo"
+-- > colgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -509,7 +509,7 @@
 --
 -- Example:
 --
--- > dd $ span $ text "foo"
+-- > dd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -527,7 +527,7 @@
 --
 -- Example:
 --
--- > del $ span $ text "foo"
+-- > del $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -545,7 +545,7 @@
 --
 -- Example:
 --
--- > dfn $ span $ text "foo"
+-- > dfn $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -563,7 +563,7 @@
 --
 -- Example:
 --
--- > dir $ span $ text "foo"
+-- > dir $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -581,7 +581,7 @@
 --
 -- Example:
 --
--- > div $ span $ text "foo"
+-- > div $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -599,7 +599,7 @@
 --
 -- Example:
 --
--- > dl $ span $ text "foo"
+-- > dl $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -617,7 +617,7 @@
 --
 -- Example:
 --
--- > dt $ span $ text "foo"
+-- > dt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -635,7 +635,7 @@
 --
 -- Example:
 --
--- > em $ span $ text "foo"
+-- > em $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -653,7 +653,7 @@
 --
 -- Example:
 --
--- > fieldset $ span $ text "foo"
+-- > fieldset $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -671,7 +671,7 @@
 --
 -- Example:
 --
--- > font $ span $ text "foo"
+-- > font $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -689,7 +689,7 @@
 --
 -- Example:
 --
--- > form $ span $ text "foo"
+-- > form $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -707,7 +707,7 @@
 --
 -- Example:
 --
--- > h1 $ span $ text "foo"
+-- > h1 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -725,7 +725,7 @@
 --
 -- Example:
 --
--- > h2 $ span $ text "foo"
+-- > h2 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -743,7 +743,7 @@
 --
 -- Example:
 --
--- > h3 $ span $ text "foo"
+-- > h3 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -761,7 +761,7 @@
 --
 -- Example:
 --
--- > h4 $ span $ text "foo"
+-- > h4 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -779,7 +779,7 @@
 --
 -- Example:
 --
--- > h5 $ span $ text "foo"
+-- > h5 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -797,7 +797,7 @@
 --
 -- Example:
 --
--- > h6 $ span $ text "foo"
+-- > h6 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -815,7 +815,7 @@
 --
 -- Example:
 --
--- > head $ span $ text "foo"
+-- > head $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -850,7 +850,7 @@
 --
 -- Example:
 --
--- > html $ span $ text "foo"
+-- > html $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -868,7 +868,7 @@
 --
 -- Example:
 --
--- > i $ span $ text "foo"
+-- > i $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -886,7 +886,7 @@
 --
 -- Example:
 --
--- > iframe $ span $ text "foo"
+-- > iframe $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -938,7 +938,7 @@
 --
 -- Example:
 --
--- > ins $ span $ text "foo"
+-- > ins $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -956,7 +956,7 @@
 --
 -- Example:
 --
--- > isindex $ span $ text "foo"
+-- > isindex $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -974,7 +974,7 @@
 --
 -- Example:
 --
--- > kbd $ span $ text "foo"
+-- > kbd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -992,7 +992,7 @@
 --
 -- Example:
 --
--- > label $ span $ text "foo"
+-- > label $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1010,7 +1010,7 @@
 --
 -- Example:
 --
--- > legend $ span $ text "foo"
+-- > legend $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1028,7 +1028,7 @@
 --
 -- Example:
 --
--- > li $ span $ text "foo"
+-- > li $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1063,7 +1063,7 @@
 --
 -- Example:
 --
--- > map $ span $ text "foo"
+-- > map $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1081,7 +1081,7 @@
 --
 -- Example:
 --
--- > menu $ span $ text "foo"
+-- > menu $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1116,7 +1116,7 @@
 --
 -- Example:
 --
--- > noframes $ span $ text "foo"
+-- > noframes $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1134,7 +1134,7 @@
 --
 -- Example:
 --
--- > noscript $ span $ text "foo"
+-- > noscript $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1152,7 +1152,7 @@
 --
 -- Example:
 --
--- > object $ span $ text "foo"
+-- > object $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1170,7 +1170,7 @@
 --
 -- Example:
 --
--- > ol $ span $ text "foo"
+-- > ol $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1188,7 +1188,7 @@
 --
 -- Example:
 --
--- > optgroup $ span $ text "foo"
+-- > optgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1206,7 +1206,7 @@
 --
 -- Example:
 --
--- > option $ span $ text "foo"
+-- > option $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1224,7 +1224,7 @@
 --
 -- Example:
 --
--- > p $ span $ text "foo"
+-- > p $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1259,7 +1259,7 @@
 --
 -- Example:
 --
--- > pre $ span $ text "foo"
+-- > pre $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1277,7 +1277,7 @@
 --
 -- Example:
 --
--- > q $ span $ text "foo"
+-- > q $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1295,7 +1295,7 @@
 --
 -- Example:
 --
--- > s $ span $ text "foo"
+-- > s $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1313,7 +1313,7 @@
 --
 -- Example:
 --
--- > samp $ span $ text "foo"
+-- > samp $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1331,7 +1331,7 @@
 --
 -- Example:
 --
--- > script $ span $ text "foo"
+-- > script $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1349,7 +1349,7 @@
 --
 -- Example:
 --
--- > select $ span $ text "foo"
+-- > select $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1367,7 +1367,7 @@
 --
 -- Example:
 --
--- > small $ span $ text "foo"
+-- > small $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1385,7 +1385,7 @@
 --
 -- Example:
 --
--- > span $ span $ text "foo"
+-- > span $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1403,7 +1403,7 @@
 --
 -- Example:
 --
--- > strong $ span $ text "foo"
+-- > strong $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1421,7 +1421,7 @@
 --
 -- Example:
 --
--- > style $ span $ text "foo"
+-- > style $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1439,7 +1439,7 @@
 --
 -- Example:
 --
--- > sub $ span $ text "foo"
+-- > sub $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1457,7 +1457,7 @@
 --
 -- Example:
 --
--- > sup $ span $ text "foo"
+-- > sup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1475,7 +1475,7 @@
 --
 -- Example:
 --
--- > table $ span $ text "foo"
+-- > table $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1493,7 +1493,7 @@
 --
 -- Example:
 --
--- > tbody $ span $ text "foo"
+-- > tbody $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1511,7 +1511,7 @@
 --
 -- Example:
 --
--- > td $ span $ text "foo"
+-- > td $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1529,7 +1529,7 @@
 --
 -- Example:
 --
--- > textarea $ span $ text "foo"
+-- > textarea $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1547,7 +1547,7 @@
 --
 -- Example:
 --
--- > tfoot $ span $ text "foo"
+-- > tfoot $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1565,7 +1565,7 @@
 --
 -- Example:
 --
--- > th $ span $ text "foo"
+-- > th $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1583,7 +1583,7 @@
 --
 -- Example:
 --
--- > thead $ span $ text "foo"
+-- > thead $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1601,7 +1601,7 @@
 --
 -- Example:
 --
--- > title $ span $ text "foo"
+-- > title $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1619,7 +1619,7 @@
 --
 -- Example:
 --
--- > tr $ span $ text "foo"
+-- > tr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1637,7 +1637,7 @@
 --
 -- Example:
 --
--- > tt $ span $ text "foo"
+-- > tt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1655,7 +1655,7 @@
 --
 -- Example:
 --
--- > u $ span $ text "foo"
+-- > u $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1673,7 +1673,7 @@
 --
 -- Example:
 --
--- > ul $ span $ text "foo"
+-- > ul $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1691,7 +1691,7 @@
 --
 -- Example:
 --
--- > var $ span $ text "foo"
+-- > var $ span $ toHtml "foo"
 --
 -- Result:
 --
diff --git a/src/Text/Blaze/Html5.hs b/src/Text/Blaze/Html5.hs
--- a/src/Text/Blaze/Html5.hs
+++ b/src/Text/Blaze/Html5.hs
@@ -151,7 +151,7 @@
 --
 -- Example:
 --
--- > docTypeHtml $ span $ text "foo"
+-- > docTypeHtml $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -170,7 +170,7 @@
 --
 -- Example:
 --
--- > a $ span $ text "foo"
+-- > a $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -188,7 +188,7 @@
 --
 -- Example:
 --
--- > abbr $ span $ text "foo"
+-- > abbr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -206,7 +206,7 @@
 --
 -- Example:
 --
--- > address $ span $ text "foo"
+-- > address $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -241,7 +241,7 @@
 --
 -- Example:
 --
--- > article $ span $ text "foo"
+-- > article $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -259,7 +259,7 @@
 --
 -- Example:
 --
--- > aside $ span $ text "foo"
+-- > aside $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -277,7 +277,7 @@
 --
 -- Example:
 --
--- > audio $ span $ text "foo"
+-- > audio $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -295,7 +295,7 @@
 --
 -- Example:
 --
--- > b $ span $ text "foo"
+-- > b $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -330,7 +330,7 @@
 --
 -- Example:
 --
--- > bdo $ span $ text "foo"
+-- > bdo $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -348,7 +348,7 @@
 --
 -- Example:
 --
--- > blockquote $ span $ text "foo"
+-- > blockquote $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -366,7 +366,7 @@
 --
 -- Example:
 --
--- > body $ span $ text "foo"
+-- > body $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -401,7 +401,7 @@
 --
 -- Example:
 --
--- > button $ span $ text "foo"
+-- > button $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -419,7 +419,7 @@
 --
 -- Example:
 --
--- > canvas $ span $ text "foo"
+-- > canvas $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -437,7 +437,7 @@
 --
 -- Example:
 --
--- > caption $ span $ text "foo"
+-- > caption $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -455,7 +455,7 @@
 --
 -- Example:
 --
--- > cite $ span $ text "foo"
+-- > cite $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -473,7 +473,7 @@
 --
 -- Example:
 --
--- > code $ span $ text "foo"
+-- > code $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -508,7 +508,7 @@
 --
 -- Example:
 --
--- > colgroup $ span $ text "foo"
+-- > colgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -526,7 +526,7 @@
 --
 -- Example:
 --
--- > command $ span $ text "foo"
+-- > command $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -544,7 +544,7 @@
 --
 -- Example:
 --
--- > datalist $ span $ text "foo"
+-- > datalist $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -562,7 +562,7 @@
 --
 -- Example:
 --
--- > dd $ span $ text "foo"
+-- > dd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -580,7 +580,7 @@
 --
 -- Example:
 --
--- > del $ span $ text "foo"
+-- > del $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -598,7 +598,7 @@
 --
 -- Example:
 --
--- > details $ span $ text "foo"
+-- > details $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -616,7 +616,7 @@
 --
 -- Example:
 --
--- > dfn $ span $ text "foo"
+-- > dfn $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -634,7 +634,7 @@
 --
 -- Example:
 --
--- > div $ span $ text "foo"
+-- > div $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -652,7 +652,7 @@
 --
 -- Example:
 --
--- > dl $ span $ text "foo"
+-- > dl $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -670,7 +670,7 @@
 --
 -- Example:
 --
--- > dt $ span $ text "foo"
+-- > dt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -688,7 +688,7 @@
 --
 -- Example:
 --
--- > em $ span $ text "foo"
+-- > em $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -723,7 +723,7 @@
 --
 -- Example:
 --
--- > fieldset $ span $ text "foo"
+-- > fieldset $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -741,7 +741,7 @@
 --
 -- Example:
 --
--- > figcaption $ span $ text "foo"
+-- > figcaption $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -759,7 +759,7 @@
 --
 -- Example:
 --
--- > figure $ span $ text "foo"
+-- > figure $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -777,7 +777,7 @@
 --
 -- Example:
 --
--- > footer $ span $ text "foo"
+-- > footer $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -795,7 +795,7 @@
 --
 -- Example:
 --
--- > form $ span $ text "foo"
+-- > form $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -813,7 +813,7 @@
 --
 -- Example:
 --
--- > h1 $ span $ text "foo"
+-- > h1 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -831,7 +831,7 @@
 --
 -- Example:
 --
--- > h2 $ span $ text "foo"
+-- > h2 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -849,7 +849,7 @@
 --
 -- Example:
 --
--- > h3 $ span $ text "foo"
+-- > h3 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -867,7 +867,7 @@
 --
 -- Example:
 --
--- > h4 $ span $ text "foo"
+-- > h4 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -885,7 +885,7 @@
 --
 -- Example:
 --
--- > h5 $ span $ text "foo"
+-- > h5 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -903,7 +903,7 @@
 --
 -- Example:
 --
--- > h6 $ span $ text "foo"
+-- > h6 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -921,7 +921,7 @@
 --
 -- Example:
 --
--- > head $ span $ text "foo"
+-- > head $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -939,7 +939,7 @@
 --
 -- Example:
 --
--- > header $ span $ text "foo"
+-- > header $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -957,7 +957,7 @@
 --
 -- Example:
 --
--- > hgroup $ span $ text "foo"
+-- > hgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -992,7 +992,7 @@
 --
 -- Example:
 --
--- > html $ span $ text "foo"
+-- > html $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1010,7 +1010,7 @@
 --
 -- Example:
 --
--- > i $ span $ text "foo"
+-- > i $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1028,7 +1028,7 @@
 --
 -- Example:
 --
--- > iframe $ span $ text "foo"
+-- > iframe $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1080,7 +1080,7 @@
 --
 -- Example:
 --
--- > ins $ span $ text "foo"
+-- > ins $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1098,7 +1098,7 @@
 --
 -- Example:
 --
--- > kbd $ span $ text "foo"
+-- > kbd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1133,7 +1133,7 @@
 --
 -- Example:
 --
--- > label $ span $ text "foo"
+-- > label $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1151,7 +1151,7 @@
 --
 -- Example:
 --
--- > legend $ span $ text "foo"
+-- > legend $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1169,7 +1169,7 @@
 --
 -- Example:
 --
--- > li $ span $ text "foo"
+-- > li $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1204,7 +1204,7 @@
 --
 -- Example:
 --
--- > map $ span $ text "foo"
+-- > map $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1222,7 +1222,7 @@
 --
 -- Example:
 --
--- > mark $ span $ text "foo"
+-- > mark $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1240,7 +1240,7 @@
 --
 -- Example:
 --
--- > menu $ span $ text "foo"
+-- > menu $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1292,7 +1292,7 @@
 --
 -- Example:
 --
--- > meter $ span $ text "foo"
+-- > meter $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1310,7 +1310,7 @@
 --
 -- Example:
 --
--- > nav $ span $ text "foo"
+-- > nav $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1328,7 +1328,7 @@
 --
 -- Example:
 --
--- > noscript $ span $ text "foo"
+-- > noscript $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1346,7 +1346,7 @@
 --
 -- Example:
 --
--- > object $ span $ text "foo"
+-- > object $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1364,7 +1364,7 @@
 --
 -- Example:
 --
--- > ol $ span $ text "foo"
+-- > ol $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1382,7 +1382,7 @@
 --
 -- Example:
 --
--- > optgroup $ span $ text "foo"
+-- > optgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1400,7 +1400,7 @@
 --
 -- Example:
 --
--- > option $ span $ text "foo"
+-- > option $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1418,7 +1418,7 @@
 --
 -- Example:
 --
--- > output $ span $ text "foo"
+-- > output $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1436,7 +1436,7 @@
 --
 -- Example:
 --
--- > p $ span $ text "foo"
+-- > p $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1471,7 +1471,7 @@
 --
 -- Example:
 --
--- > pre $ span $ text "foo"
+-- > pre $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1489,7 +1489,7 @@
 --
 -- Example:
 --
--- > progress $ span $ text "foo"
+-- > progress $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1507,7 +1507,7 @@
 --
 -- Example:
 --
--- > q $ span $ text "foo"
+-- > q $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1525,7 +1525,7 @@
 --
 -- Example:
 --
--- > rp $ span $ text "foo"
+-- > rp $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1543,7 +1543,7 @@
 --
 -- Example:
 --
--- > rt $ span $ text "foo"
+-- > rt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1561,7 +1561,7 @@
 --
 -- Example:
 --
--- > ruby $ span $ text "foo"
+-- > ruby $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1579,7 +1579,7 @@
 --
 -- Example:
 --
--- > samp $ span $ text "foo"
+-- > samp $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1597,7 +1597,7 @@
 --
 -- Example:
 --
--- > script $ span $ text "foo"
+-- > script $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1615,7 +1615,7 @@
 --
 -- Example:
 --
--- > section $ span $ text "foo"
+-- > section $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1633,7 +1633,7 @@
 --
 -- Example:
 --
--- > select $ span $ text "foo"
+-- > select $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1651,7 +1651,7 @@
 --
 -- Example:
 --
--- > small $ span $ text "foo"
+-- > small $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1686,7 +1686,7 @@
 --
 -- Example:
 --
--- > span $ span $ text "foo"
+-- > span $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1704,7 +1704,7 @@
 --
 -- Example:
 --
--- > strong $ span $ text "foo"
+-- > strong $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1722,7 +1722,7 @@
 --
 -- Example:
 --
--- > style $ span $ text "foo"
+-- > style $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1740,7 +1740,7 @@
 --
 -- Example:
 --
--- > sub $ span $ text "foo"
+-- > sub $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1758,7 +1758,7 @@
 --
 -- Example:
 --
--- > summary $ span $ text "foo"
+-- > summary $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1776,7 +1776,7 @@
 --
 -- Example:
 --
--- > sup $ span $ text "foo"
+-- > sup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1794,7 +1794,7 @@
 --
 -- Example:
 --
--- > table $ span $ text "foo"
+-- > table $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1812,7 +1812,7 @@
 --
 -- Example:
 --
--- > tbody $ span $ text "foo"
+-- > tbody $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1830,7 +1830,7 @@
 --
 -- Example:
 --
--- > td $ span $ text "foo"
+-- > td $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1848,7 +1848,7 @@
 --
 -- Example:
 --
--- > textarea $ span $ text "foo"
+-- > textarea $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1866,7 +1866,7 @@
 --
 -- Example:
 --
--- > tfoot $ span $ text "foo"
+-- > tfoot $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1884,7 +1884,7 @@
 --
 -- Example:
 --
--- > th $ span $ text "foo"
+-- > th $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1902,7 +1902,7 @@
 --
 -- Example:
 --
--- > thead $ span $ text "foo"
+-- > thead $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1920,7 +1920,7 @@
 --
 -- Example:
 --
--- > time $ span $ text "foo"
+-- > time $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1938,7 +1938,7 @@
 --
 -- Example:
 --
--- > title $ span $ text "foo"
+-- > title $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1956,7 +1956,7 @@
 --
 -- Example:
 --
--- > tr $ span $ text "foo"
+-- > tr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1991,7 +1991,7 @@
 --
 -- Example:
 --
--- > ul $ span $ text "foo"
+-- > ul $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -2009,7 +2009,7 @@
 --
 -- Example:
 --
--- > var $ span $ text "foo"
+-- > var $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -2027,7 +2027,7 @@
 --
 -- Example:
 --
--- > video $ span $ text "foo"
+-- > video $ span $ toHtml "foo"
 --
 -- Result:
 --
diff --git a/src/Text/Blaze/XHtml1/FrameSet.hs b/src/Text/Blaze/XHtml1/FrameSet.hs
--- a/src/Text/Blaze/XHtml1/FrameSet.hs
+++ b/src/Text/Blaze/XHtml1/FrameSet.hs
@@ -135,7 +135,7 @@
 --
 -- Example:
 --
--- > docTypeHtml $ span $ text "foo"
+-- > docTypeHtml $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -155,7 +155,7 @@
 --
 -- Example:
 --
--- > a $ span $ text "foo"
+-- > a $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -173,7 +173,7 @@
 --
 -- Example:
 --
--- > abbr $ span $ text "foo"
+-- > abbr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -191,7 +191,7 @@
 --
 -- Example:
 --
--- > acronym $ span $ text "foo"
+-- > acronym $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -209,7 +209,7 @@
 --
 -- Example:
 --
--- > address $ span $ text "foo"
+-- > address $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -227,7 +227,7 @@
 --
 -- Example:
 --
--- > applet $ span $ text "foo"
+-- > applet $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -262,7 +262,7 @@
 --
 -- Example:
 --
--- > b $ span $ text "foo"
+-- > b $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -297,7 +297,7 @@
 --
 -- Example:
 --
--- > bdo $ span $ text "foo"
+-- > bdo $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -315,7 +315,7 @@
 --
 -- Example:
 --
--- > big $ span $ text "foo"
+-- > big $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -333,7 +333,7 @@
 --
 -- Example:
 --
--- > blockquote $ span $ text "foo"
+-- > blockquote $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -351,7 +351,7 @@
 --
 -- Example:
 --
--- > body $ span $ text "foo"
+-- > body $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -386,7 +386,7 @@
 --
 -- Example:
 --
--- > button $ span $ text "foo"
+-- > button $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -404,7 +404,7 @@
 --
 -- Example:
 --
--- > caption $ span $ text "foo"
+-- > caption $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -422,7 +422,7 @@
 --
 -- Example:
 --
--- > center $ span $ text "foo"
+-- > center $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -440,7 +440,7 @@
 --
 -- Example:
 --
--- > cite $ span $ text "foo"
+-- > cite $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -458,7 +458,7 @@
 --
 -- Example:
 --
--- > code $ span $ text "foo"
+-- > code $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -493,7 +493,7 @@
 --
 -- Example:
 --
--- > colgroup $ span $ text "foo"
+-- > colgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -511,7 +511,7 @@
 --
 -- Example:
 --
--- > dd $ span $ text "foo"
+-- > dd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -529,7 +529,7 @@
 --
 -- Example:
 --
--- > del $ span $ text "foo"
+-- > del $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -547,7 +547,7 @@
 --
 -- Example:
 --
--- > dfn $ span $ text "foo"
+-- > dfn $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -565,7 +565,7 @@
 --
 -- Example:
 --
--- > dir $ span $ text "foo"
+-- > dir $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -583,7 +583,7 @@
 --
 -- Example:
 --
--- > div $ span $ text "foo"
+-- > div $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -601,7 +601,7 @@
 --
 -- Example:
 --
--- > dl $ span $ text "foo"
+-- > dl $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -619,7 +619,7 @@
 --
 -- Example:
 --
--- > dt $ span $ text "foo"
+-- > dt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -637,7 +637,7 @@
 --
 -- Example:
 --
--- > em $ span $ text "foo"
+-- > em $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -655,7 +655,7 @@
 --
 -- Example:
 --
--- > fieldset $ span $ text "foo"
+-- > fieldset $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -673,7 +673,7 @@
 --
 -- Example:
 --
--- > font $ span $ text "foo"
+-- > font $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -691,7 +691,7 @@
 --
 -- Example:
 --
--- > form $ span $ text "foo"
+-- > form $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -726,7 +726,7 @@
 --
 -- Example:
 --
--- > frameset $ span $ text "foo"
+-- > frameset $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -744,7 +744,7 @@
 --
 -- Example:
 --
--- > h1 $ span $ text "foo"
+-- > h1 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -762,7 +762,7 @@
 --
 -- Example:
 --
--- > h2 $ span $ text "foo"
+-- > h2 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -780,7 +780,7 @@
 --
 -- Example:
 --
--- > h3 $ span $ text "foo"
+-- > h3 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -798,7 +798,7 @@
 --
 -- Example:
 --
--- > h4 $ span $ text "foo"
+-- > h4 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -816,7 +816,7 @@
 --
 -- Example:
 --
--- > h5 $ span $ text "foo"
+-- > h5 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -834,7 +834,7 @@
 --
 -- Example:
 --
--- > h6 $ span $ text "foo"
+-- > h6 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -852,7 +852,7 @@
 --
 -- Example:
 --
--- > head $ span $ text "foo"
+-- > head $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -887,7 +887,7 @@
 --
 -- Example:
 --
--- > html $ span $ text "foo"
+-- > html $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -905,7 +905,7 @@
 --
 -- Example:
 --
--- > i $ span $ text "foo"
+-- > i $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -923,7 +923,7 @@
 --
 -- Example:
 --
--- > iframe $ span $ text "foo"
+-- > iframe $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -975,7 +975,7 @@
 --
 -- Example:
 --
--- > ins $ span $ text "foo"
+-- > ins $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -993,7 +993,7 @@
 --
 -- Example:
 --
--- > isindex $ span $ text "foo"
+-- > isindex $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1011,7 +1011,7 @@
 --
 -- Example:
 --
--- > kbd $ span $ text "foo"
+-- > kbd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1029,7 +1029,7 @@
 --
 -- Example:
 --
--- > label $ span $ text "foo"
+-- > label $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1047,7 +1047,7 @@
 --
 -- Example:
 --
--- > legend $ span $ text "foo"
+-- > legend $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1065,7 +1065,7 @@
 --
 -- Example:
 --
--- > li $ span $ text "foo"
+-- > li $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1100,7 +1100,7 @@
 --
 -- Example:
 --
--- > map $ span $ text "foo"
+-- > map $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1118,7 +1118,7 @@
 --
 -- Example:
 --
--- > menu $ span $ text "foo"
+-- > menu $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1153,7 +1153,7 @@
 --
 -- Example:
 --
--- > noframes $ span $ text "foo"
+-- > noframes $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1171,7 +1171,7 @@
 --
 -- Example:
 --
--- > noscript $ span $ text "foo"
+-- > noscript $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1189,7 +1189,7 @@
 --
 -- Example:
 --
--- > object $ span $ text "foo"
+-- > object $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1207,7 +1207,7 @@
 --
 -- Example:
 --
--- > ol $ span $ text "foo"
+-- > ol $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1225,7 +1225,7 @@
 --
 -- Example:
 --
--- > optgroup $ span $ text "foo"
+-- > optgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1243,7 +1243,7 @@
 --
 -- Example:
 --
--- > option $ span $ text "foo"
+-- > option $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1261,7 +1261,7 @@
 --
 -- Example:
 --
--- > p $ span $ text "foo"
+-- > p $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1296,7 +1296,7 @@
 --
 -- Example:
 --
--- > pre $ span $ text "foo"
+-- > pre $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1314,7 +1314,7 @@
 --
 -- Example:
 --
--- > q $ span $ text "foo"
+-- > q $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1332,7 +1332,7 @@
 --
 -- Example:
 --
--- > s $ span $ text "foo"
+-- > s $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1350,7 +1350,7 @@
 --
 -- Example:
 --
--- > samp $ span $ text "foo"
+-- > samp $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1368,7 +1368,7 @@
 --
 -- Example:
 --
--- > script $ span $ text "foo"
+-- > script $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1386,7 +1386,7 @@
 --
 -- Example:
 --
--- > select $ span $ text "foo"
+-- > select $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1404,7 +1404,7 @@
 --
 -- Example:
 --
--- > small $ span $ text "foo"
+-- > small $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1422,7 +1422,7 @@
 --
 -- Example:
 --
--- > span $ span $ text "foo"
+-- > span $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1440,7 +1440,7 @@
 --
 -- Example:
 --
--- > strong $ span $ text "foo"
+-- > strong $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1458,7 +1458,7 @@
 --
 -- Example:
 --
--- > style $ span $ text "foo"
+-- > style $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1476,7 +1476,7 @@
 --
 -- Example:
 --
--- > sub $ span $ text "foo"
+-- > sub $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1494,7 +1494,7 @@
 --
 -- Example:
 --
--- > sup $ span $ text "foo"
+-- > sup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1512,7 +1512,7 @@
 --
 -- Example:
 --
--- > table $ span $ text "foo"
+-- > table $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1530,7 +1530,7 @@
 --
 -- Example:
 --
--- > tbody $ span $ text "foo"
+-- > tbody $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1548,7 +1548,7 @@
 --
 -- Example:
 --
--- > td $ span $ text "foo"
+-- > td $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1566,7 +1566,7 @@
 --
 -- Example:
 --
--- > textarea $ span $ text "foo"
+-- > textarea $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1584,7 +1584,7 @@
 --
 -- Example:
 --
--- > tfoot $ span $ text "foo"
+-- > tfoot $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1602,7 +1602,7 @@
 --
 -- Example:
 --
--- > th $ span $ text "foo"
+-- > th $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1620,7 +1620,7 @@
 --
 -- Example:
 --
--- > thead $ span $ text "foo"
+-- > thead $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1638,7 +1638,7 @@
 --
 -- Example:
 --
--- > title $ span $ text "foo"
+-- > title $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1656,7 +1656,7 @@
 --
 -- Example:
 --
--- > tr $ span $ text "foo"
+-- > tr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1674,7 +1674,7 @@
 --
 -- Example:
 --
--- > tt $ span $ text "foo"
+-- > tt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1692,7 +1692,7 @@
 --
 -- Example:
 --
--- > u $ span $ text "foo"
+-- > u $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1710,7 +1710,7 @@
 --
 -- Example:
 --
--- > ul $ span $ text "foo"
+-- > ul $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1728,7 +1728,7 @@
 --
 -- Example:
 --
--- > var $ span $ text "foo"
+-- > var $ span $ toHtml "foo"
 --
 -- Result:
 --
diff --git a/src/Text/Blaze/XHtml1/Strict.hs b/src/Text/Blaze/XHtml1/Strict.hs
--- a/src/Text/Blaze/XHtml1/Strict.hs
+++ b/src/Text/Blaze/XHtml1/Strict.hs
@@ -122,7 +122,7 @@
 --
 -- Example:
 --
--- > docTypeHtml $ span $ text "foo"
+-- > docTypeHtml $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -142,7 +142,7 @@
 --
 -- Example:
 --
--- > a $ span $ text "foo"
+-- > a $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -160,7 +160,7 @@
 --
 -- Example:
 --
--- > abbr $ span $ text "foo"
+-- > abbr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -178,7 +178,7 @@
 --
 -- Example:
 --
--- > acronym $ span $ text "foo"
+-- > acronym $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -196,7 +196,7 @@
 --
 -- Example:
 --
--- > address $ span $ text "foo"
+-- > address $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -231,7 +231,7 @@
 --
 -- Example:
 --
--- > b $ span $ text "foo"
+-- > b $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -249,7 +249,7 @@
 --
 -- Example:
 --
--- > bdo $ span $ text "foo"
+-- > bdo $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -267,7 +267,7 @@
 --
 -- Example:
 --
--- > big $ span $ text "foo"
+-- > big $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -285,7 +285,7 @@
 --
 -- Example:
 --
--- > blockquote $ span $ text "foo"
+-- > blockquote $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -303,7 +303,7 @@
 --
 -- Example:
 --
--- > body $ span $ text "foo"
+-- > body $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -338,7 +338,7 @@
 --
 -- Example:
 --
--- > button $ span $ text "foo"
+-- > button $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -356,7 +356,7 @@
 --
 -- Example:
 --
--- > caption $ span $ text "foo"
+-- > caption $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -374,7 +374,7 @@
 --
 -- Example:
 --
--- > cite $ span $ text "foo"
+-- > cite $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -392,7 +392,7 @@
 --
 -- Example:
 --
--- > code $ span $ text "foo"
+-- > code $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -427,7 +427,7 @@
 --
 -- Example:
 --
--- > colgroup $ span $ text "foo"
+-- > colgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -445,7 +445,7 @@
 --
 -- Example:
 --
--- > dd $ span $ text "foo"
+-- > dd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -463,7 +463,7 @@
 --
 -- Example:
 --
--- > del $ span $ text "foo"
+-- > del $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -481,7 +481,7 @@
 --
 -- Example:
 --
--- > dfn $ span $ text "foo"
+-- > dfn $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -499,7 +499,7 @@
 --
 -- Example:
 --
--- > div $ span $ text "foo"
+-- > div $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -517,7 +517,7 @@
 --
 -- Example:
 --
--- > dl $ span $ text "foo"
+-- > dl $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -535,7 +535,7 @@
 --
 -- Example:
 --
--- > dt $ span $ text "foo"
+-- > dt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -553,7 +553,7 @@
 --
 -- Example:
 --
--- > em $ span $ text "foo"
+-- > em $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -571,7 +571,7 @@
 --
 -- Example:
 --
--- > fieldset $ span $ text "foo"
+-- > fieldset $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -589,7 +589,7 @@
 --
 -- Example:
 --
--- > form $ span $ text "foo"
+-- > form $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -607,7 +607,7 @@
 --
 -- Example:
 --
--- > h1 $ span $ text "foo"
+-- > h1 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -625,7 +625,7 @@
 --
 -- Example:
 --
--- > h2 $ span $ text "foo"
+-- > h2 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -643,7 +643,7 @@
 --
 -- Example:
 --
--- > h3 $ span $ text "foo"
+-- > h3 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -661,7 +661,7 @@
 --
 -- Example:
 --
--- > h4 $ span $ text "foo"
+-- > h4 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -679,7 +679,7 @@
 --
 -- Example:
 --
--- > h5 $ span $ text "foo"
+-- > h5 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -697,7 +697,7 @@
 --
 -- Example:
 --
--- > h6 $ span $ text "foo"
+-- > h6 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -715,7 +715,7 @@
 --
 -- Example:
 --
--- > head $ span $ text "foo"
+-- > head $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -750,7 +750,7 @@
 --
 -- Example:
 --
--- > html $ span $ text "foo"
+-- > html $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -768,7 +768,7 @@
 --
 -- Example:
 --
--- > i $ span $ text "foo"
+-- > i $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -820,7 +820,7 @@
 --
 -- Example:
 --
--- > ins $ span $ text "foo"
+-- > ins $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -838,7 +838,7 @@
 --
 -- Example:
 --
--- > kbd $ span $ text "foo"
+-- > kbd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -856,7 +856,7 @@
 --
 -- Example:
 --
--- > label $ span $ text "foo"
+-- > label $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -874,7 +874,7 @@
 --
 -- Example:
 --
--- > legend $ span $ text "foo"
+-- > legend $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -892,7 +892,7 @@
 --
 -- Example:
 --
--- > li $ span $ text "foo"
+-- > li $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -927,7 +927,7 @@
 --
 -- Example:
 --
--- > map $ span $ text "foo"
+-- > map $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -962,7 +962,7 @@
 --
 -- Example:
 --
--- > noscript $ span $ text "foo"
+-- > noscript $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -980,7 +980,7 @@
 --
 -- Example:
 --
--- > object $ span $ text "foo"
+-- > object $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -998,7 +998,7 @@
 --
 -- Example:
 --
--- > ol $ span $ text "foo"
+-- > ol $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1016,7 +1016,7 @@
 --
 -- Example:
 --
--- > optgroup $ span $ text "foo"
+-- > optgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1034,7 +1034,7 @@
 --
 -- Example:
 --
--- > option $ span $ text "foo"
+-- > option $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1052,7 +1052,7 @@
 --
 -- Example:
 --
--- > p $ span $ text "foo"
+-- > p $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1087,7 +1087,7 @@
 --
 -- Example:
 --
--- > pre $ span $ text "foo"
+-- > pre $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1105,7 +1105,7 @@
 --
 -- Example:
 --
--- > q $ span $ text "foo"
+-- > q $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1123,7 +1123,7 @@
 --
 -- Example:
 --
--- > samp $ span $ text "foo"
+-- > samp $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1141,7 +1141,7 @@
 --
 -- Example:
 --
--- > script $ span $ text "foo"
+-- > script $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1159,7 +1159,7 @@
 --
 -- Example:
 --
--- > select $ span $ text "foo"
+-- > select $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1177,7 +1177,7 @@
 --
 -- Example:
 --
--- > small $ span $ text "foo"
+-- > small $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1195,7 +1195,7 @@
 --
 -- Example:
 --
--- > span $ span $ text "foo"
+-- > span $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1213,7 +1213,7 @@
 --
 -- Example:
 --
--- > strong $ span $ text "foo"
+-- > strong $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1231,7 +1231,7 @@
 --
 -- Example:
 --
--- > style $ span $ text "foo"
+-- > style $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1249,7 +1249,7 @@
 --
 -- Example:
 --
--- > sub $ span $ text "foo"
+-- > sub $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1267,7 +1267,7 @@
 --
 -- Example:
 --
--- > sup $ span $ text "foo"
+-- > sup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1285,7 +1285,7 @@
 --
 -- Example:
 --
--- > table $ span $ text "foo"
+-- > table $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1303,7 +1303,7 @@
 --
 -- Example:
 --
--- > tbody $ span $ text "foo"
+-- > tbody $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1321,7 +1321,7 @@
 --
 -- Example:
 --
--- > td $ span $ text "foo"
+-- > td $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1339,7 +1339,7 @@
 --
 -- Example:
 --
--- > textarea $ span $ text "foo"
+-- > textarea $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1357,7 +1357,7 @@
 --
 -- Example:
 --
--- > tfoot $ span $ text "foo"
+-- > tfoot $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1375,7 +1375,7 @@
 --
 -- Example:
 --
--- > th $ span $ text "foo"
+-- > th $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1393,7 +1393,7 @@
 --
 -- Example:
 --
--- > thead $ span $ text "foo"
+-- > thead $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1411,7 +1411,7 @@
 --
 -- Example:
 --
--- > title $ span $ text "foo"
+-- > title $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1429,7 +1429,7 @@
 --
 -- Example:
 --
--- > tr $ span $ text "foo"
+-- > tr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1447,7 +1447,7 @@
 --
 -- Example:
 --
--- > tt $ span $ text "foo"
+-- > tt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1465,7 +1465,7 @@
 --
 -- Example:
 --
--- > ul $ span $ text "foo"
+-- > ul $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1483,7 +1483,7 @@
 --
 -- Example:
 --
--- > var $ span $ text "foo"
+-- > var $ span $ toHtml "foo"
 --
 -- Result:
 --
diff --git a/src/Text/Blaze/XHtml1/Transitional.hs b/src/Text/Blaze/XHtml1/Transitional.hs
--- a/src/Text/Blaze/XHtml1/Transitional.hs
+++ b/src/Text/Blaze/XHtml1/Transitional.hs
@@ -133,7 +133,7 @@
 --
 -- Example:
 --
--- > docTypeHtml $ span $ text "foo"
+-- > docTypeHtml $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -153,7 +153,7 @@
 --
 -- Example:
 --
--- > a $ span $ text "foo"
+-- > a $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -171,7 +171,7 @@
 --
 -- Example:
 --
--- > abbr $ span $ text "foo"
+-- > abbr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -189,7 +189,7 @@
 --
 -- Example:
 --
--- > acronym $ span $ text "foo"
+-- > acronym $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -207,7 +207,7 @@
 --
 -- Example:
 --
--- > address $ span $ text "foo"
+-- > address $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -225,7 +225,7 @@
 --
 -- Example:
 --
--- > applet $ span $ text "foo"
+-- > applet $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -260,7 +260,7 @@
 --
 -- Example:
 --
--- > b $ span $ text "foo"
+-- > b $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -295,7 +295,7 @@
 --
 -- Example:
 --
--- > bdo $ span $ text "foo"
+-- > bdo $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -313,7 +313,7 @@
 --
 -- Example:
 --
--- > big $ span $ text "foo"
+-- > big $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -331,7 +331,7 @@
 --
 -- Example:
 --
--- > blockquote $ span $ text "foo"
+-- > blockquote $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -349,7 +349,7 @@
 --
 -- Example:
 --
--- > body $ span $ text "foo"
+-- > body $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -384,7 +384,7 @@
 --
 -- Example:
 --
--- > button $ span $ text "foo"
+-- > button $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -402,7 +402,7 @@
 --
 -- Example:
 --
--- > caption $ span $ text "foo"
+-- > caption $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -420,7 +420,7 @@
 --
 -- Example:
 --
--- > center $ span $ text "foo"
+-- > center $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -438,7 +438,7 @@
 --
 -- Example:
 --
--- > cite $ span $ text "foo"
+-- > cite $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -456,7 +456,7 @@
 --
 -- Example:
 --
--- > code $ span $ text "foo"
+-- > code $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -491,7 +491,7 @@
 --
 -- Example:
 --
--- > colgroup $ span $ text "foo"
+-- > colgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -509,7 +509,7 @@
 --
 -- Example:
 --
--- > dd $ span $ text "foo"
+-- > dd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -527,7 +527,7 @@
 --
 -- Example:
 --
--- > del $ span $ text "foo"
+-- > del $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -545,7 +545,7 @@
 --
 -- Example:
 --
--- > dfn $ span $ text "foo"
+-- > dfn $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -563,7 +563,7 @@
 --
 -- Example:
 --
--- > dir $ span $ text "foo"
+-- > dir $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -581,7 +581,7 @@
 --
 -- Example:
 --
--- > div $ span $ text "foo"
+-- > div $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -599,7 +599,7 @@
 --
 -- Example:
 --
--- > dl $ span $ text "foo"
+-- > dl $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -617,7 +617,7 @@
 --
 -- Example:
 --
--- > dt $ span $ text "foo"
+-- > dt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -635,7 +635,7 @@
 --
 -- Example:
 --
--- > em $ span $ text "foo"
+-- > em $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -653,7 +653,7 @@
 --
 -- Example:
 --
--- > fieldset $ span $ text "foo"
+-- > fieldset $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -671,7 +671,7 @@
 --
 -- Example:
 --
--- > font $ span $ text "foo"
+-- > font $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -689,7 +689,7 @@
 --
 -- Example:
 --
--- > form $ span $ text "foo"
+-- > form $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -707,7 +707,7 @@
 --
 -- Example:
 --
--- > h1 $ span $ text "foo"
+-- > h1 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -725,7 +725,7 @@
 --
 -- Example:
 --
--- > h2 $ span $ text "foo"
+-- > h2 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -743,7 +743,7 @@
 --
 -- Example:
 --
--- > h3 $ span $ text "foo"
+-- > h3 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -761,7 +761,7 @@
 --
 -- Example:
 --
--- > h4 $ span $ text "foo"
+-- > h4 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -779,7 +779,7 @@
 --
 -- Example:
 --
--- > h5 $ span $ text "foo"
+-- > h5 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -797,7 +797,7 @@
 --
 -- Example:
 --
--- > h6 $ span $ text "foo"
+-- > h6 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -815,7 +815,7 @@
 --
 -- Example:
 --
--- > head $ span $ text "foo"
+-- > head $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -850,7 +850,7 @@
 --
 -- Example:
 --
--- > html $ span $ text "foo"
+-- > html $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -868,7 +868,7 @@
 --
 -- Example:
 --
--- > i $ span $ text "foo"
+-- > i $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -886,7 +886,7 @@
 --
 -- Example:
 --
--- > iframe $ span $ text "foo"
+-- > iframe $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -938,7 +938,7 @@
 --
 -- Example:
 --
--- > ins $ span $ text "foo"
+-- > ins $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -956,7 +956,7 @@
 --
 -- Example:
 --
--- > isindex $ span $ text "foo"
+-- > isindex $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -974,7 +974,7 @@
 --
 -- Example:
 --
--- > kbd $ span $ text "foo"
+-- > kbd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -992,7 +992,7 @@
 --
 -- Example:
 --
--- > label $ span $ text "foo"
+-- > label $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1010,7 +1010,7 @@
 --
 -- Example:
 --
--- > legend $ span $ text "foo"
+-- > legend $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1028,7 +1028,7 @@
 --
 -- Example:
 --
--- > li $ span $ text "foo"
+-- > li $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1063,7 +1063,7 @@
 --
 -- Example:
 --
--- > map $ span $ text "foo"
+-- > map $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1081,7 +1081,7 @@
 --
 -- Example:
 --
--- > menu $ span $ text "foo"
+-- > menu $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1116,7 +1116,7 @@
 --
 -- Example:
 --
--- > noframes $ span $ text "foo"
+-- > noframes $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1134,7 +1134,7 @@
 --
 -- Example:
 --
--- > noscript $ span $ text "foo"
+-- > noscript $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1152,7 +1152,7 @@
 --
 -- Example:
 --
--- > object $ span $ text "foo"
+-- > object $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1170,7 +1170,7 @@
 --
 -- Example:
 --
--- > ol $ span $ text "foo"
+-- > ol $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1188,7 +1188,7 @@
 --
 -- Example:
 --
--- > optgroup $ span $ text "foo"
+-- > optgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1206,7 +1206,7 @@
 --
 -- Example:
 --
--- > option $ span $ text "foo"
+-- > option $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1224,7 +1224,7 @@
 --
 -- Example:
 --
--- > p $ span $ text "foo"
+-- > p $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1259,7 +1259,7 @@
 --
 -- Example:
 --
--- > pre $ span $ text "foo"
+-- > pre $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1277,7 +1277,7 @@
 --
 -- Example:
 --
--- > q $ span $ text "foo"
+-- > q $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1295,7 +1295,7 @@
 --
 -- Example:
 --
--- > s $ span $ text "foo"
+-- > s $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1313,7 +1313,7 @@
 --
 -- Example:
 --
--- > samp $ span $ text "foo"
+-- > samp $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1331,7 +1331,7 @@
 --
 -- Example:
 --
--- > script $ span $ text "foo"
+-- > script $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1349,7 +1349,7 @@
 --
 -- Example:
 --
--- > select $ span $ text "foo"
+-- > select $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1367,7 +1367,7 @@
 --
 -- Example:
 --
--- > small $ span $ text "foo"
+-- > small $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1385,7 +1385,7 @@
 --
 -- Example:
 --
--- > span $ span $ text "foo"
+-- > span $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1403,7 +1403,7 @@
 --
 -- Example:
 --
--- > strong $ span $ text "foo"
+-- > strong $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1421,7 +1421,7 @@
 --
 -- Example:
 --
--- > style $ span $ text "foo"
+-- > style $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1439,7 +1439,7 @@
 --
 -- Example:
 --
--- > sub $ span $ text "foo"
+-- > sub $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1457,7 +1457,7 @@
 --
 -- Example:
 --
--- > sup $ span $ text "foo"
+-- > sup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1475,7 +1475,7 @@
 --
 -- Example:
 --
--- > table $ span $ text "foo"
+-- > table $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1493,7 +1493,7 @@
 --
 -- Example:
 --
--- > tbody $ span $ text "foo"
+-- > tbody $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1511,7 +1511,7 @@
 --
 -- Example:
 --
--- > td $ span $ text "foo"
+-- > td $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1529,7 +1529,7 @@
 --
 -- Example:
 --
--- > textarea $ span $ text "foo"
+-- > textarea $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1547,7 +1547,7 @@
 --
 -- Example:
 --
--- > tfoot $ span $ text "foo"
+-- > tfoot $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1565,7 +1565,7 @@
 --
 -- Example:
 --
--- > th $ span $ text "foo"
+-- > th $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1583,7 +1583,7 @@
 --
 -- Example:
 --
--- > thead $ span $ text "foo"
+-- > thead $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1601,7 +1601,7 @@
 --
 -- Example:
 --
--- > title $ span $ text "foo"
+-- > title $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1619,7 +1619,7 @@
 --
 -- Example:
 --
--- > tr $ span $ text "foo"
+-- > tr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1637,7 +1637,7 @@
 --
 -- Example:
 --
--- > tt $ span $ text "foo"
+-- > tt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1655,7 +1655,7 @@
 --
 -- Example:
 --
--- > u $ span $ text "foo"
+-- > u $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1673,7 +1673,7 @@
 --
 -- Example:
 --
--- > ul $ span $ text "foo"
+-- > ul $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1691,7 +1691,7 @@
 --
 -- Example:
 --
--- > var $ span $ text "foo"
+-- > var $ span $ toHtml "foo"
 --
 -- Result:
 --
diff --git a/src/Text/Blaze/XHtml5.hs b/src/Text/Blaze/XHtml5.hs
--- a/src/Text/Blaze/XHtml5.hs
+++ b/src/Text/Blaze/XHtml5.hs
@@ -151,7 +151,7 @@
 --
 -- Example:
 --
--- > docTypeHtml $ span $ text "foo"
+-- > docTypeHtml $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -170,7 +170,7 @@
 --
 -- Example:
 --
--- > a $ span $ text "foo"
+-- > a $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -188,7 +188,7 @@
 --
 -- Example:
 --
--- > abbr $ span $ text "foo"
+-- > abbr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -206,7 +206,7 @@
 --
 -- Example:
 --
--- > address $ span $ text "foo"
+-- > address $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -241,7 +241,7 @@
 --
 -- Example:
 --
--- > article $ span $ text "foo"
+-- > article $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -259,7 +259,7 @@
 --
 -- Example:
 --
--- > aside $ span $ text "foo"
+-- > aside $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -277,7 +277,7 @@
 --
 -- Example:
 --
--- > audio $ span $ text "foo"
+-- > audio $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -295,7 +295,7 @@
 --
 -- Example:
 --
--- > b $ span $ text "foo"
+-- > b $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -330,7 +330,7 @@
 --
 -- Example:
 --
--- > bdo $ span $ text "foo"
+-- > bdo $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -348,7 +348,7 @@
 --
 -- Example:
 --
--- > blockquote $ span $ text "foo"
+-- > blockquote $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -366,7 +366,7 @@
 --
 -- Example:
 --
--- > body $ span $ text "foo"
+-- > body $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -401,7 +401,7 @@
 --
 -- Example:
 --
--- > button $ span $ text "foo"
+-- > button $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -419,7 +419,7 @@
 --
 -- Example:
 --
--- > canvas $ span $ text "foo"
+-- > canvas $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -437,7 +437,7 @@
 --
 -- Example:
 --
--- > caption $ span $ text "foo"
+-- > caption $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -455,7 +455,7 @@
 --
 -- Example:
 --
--- > cite $ span $ text "foo"
+-- > cite $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -473,7 +473,7 @@
 --
 -- Example:
 --
--- > code $ span $ text "foo"
+-- > code $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -508,7 +508,7 @@
 --
 -- Example:
 --
--- > colgroup $ span $ text "foo"
+-- > colgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -526,7 +526,7 @@
 --
 -- Example:
 --
--- > command $ span $ text "foo"
+-- > command $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -544,7 +544,7 @@
 --
 -- Example:
 --
--- > datalist $ span $ text "foo"
+-- > datalist $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -562,7 +562,7 @@
 --
 -- Example:
 --
--- > dd $ span $ text "foo"
+-- > dd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -580,7 +580,7 @@
 --
 -- Example:
 --
--- > del $ span $ text "foo"
+-- > del $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -598,7 +598,7 @@
 --
 -- Example:
 --
--- > details $ span $ text "foo"
+-- > details $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -616,7 +616,7 @@
 --
 -- Example:
 --
--- > dfn $ span $ text "foo"
+-- > dfn $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -634,7 +634,7 @@
 --
 -- Example:
 --
--- > div $ span $ text "foo"
+-- > div $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -652,7 +652,7 @@
 --
 -- Example:
 --
--- > dl $ span $ text "foo"
+-- > dl $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -670,7 +670,7 @@
 --
 -- Example:
 --
--- > dt $ span $ text "foo"
+-- > dt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -688,7 +688,7 @@
 --
 -- Example:
 --
--- > em $ span $ text "foo"
+-- > em $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -723,7 +723,7 @@
 --
 -- Example:
 --
--- > fieldset $ span $ text "foo"
+-- > fieldset $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -741,7 +741,7 @@
 --
 -- Example:
 --
--- > figcaption $ span $ text "foo"
+-- > figcaption $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -759,7 +759,7 @@
 --
 -- Example:
 --
--- > figure $ span $ text "foo"
+-- > figure $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -777,7 +777,7 @@
 --
 -- Example:
 --
--- > footer $ span $ text "foo"
+-- > footer $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -795,7 +795,7 @@
 --
 -- Example:
 --
--- > form $ span $ text "foo"
+-- > form $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -813,7 +813,7 @@
 --
 -- Example:
 --
--- > h1 $ span $ text "foo"
+-- > h1 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -831,7 +831,7 @@
 --
 -- Example:
 --
--- > h2 $ span $ text "foo"
+-- > h2 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -849,7 +849,7 @@
 --
 -- Example:
 --
--- > h3 $ span $ text "foo"
+-- > h3 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -867,7 +867,7 @@
 --
 -- Example:
 --
--- > h4 $ span $ text "foo"
+-- > h4 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -885,7 +885,7 @@
 --
 -- Example:
 --
--- > h5 $ span $ text "foo"
+-- > h5 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -903,7 +903,7 @@
 --
 -- Example:
 --
--- > h6 $ span $ text "foo"
+-- > h6 $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -921,7 +921,7 @@
 --
 -- Example:
 --
--- > head $ span $ text "foo"
+-- > head $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -939,7 +939,7 @@
 --
 -- Example:
 --
--- > header $ span $ text "foo"
+-- > header $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -957,7 +957,7 @@
 --
 -- Example:
 --
--- > hgroup $ span $ text "foo"
+-- > hgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -992,7 +992,7 @@
 --
 -- Example:
 --
--- > html $ span $ text "foo"
+-- > html $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1010,7 +1010,7 @@
 --
 -- Example:
 --
--- > i $ span $ text "foo"
+-- > i $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1028,7 +1028,7 @@
 --
 -- Example:
 --
--- > iframe $ span $ text "foo"
+-- > iframe $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1080,7 +1080,7 @@
 --
 -- Example:
 --
--- > ins $ span $ text "foo"
+-- > ins $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1098,7 +1098,7 @@
 --
 -- Example:
 --
--- > kbd $ span $ text "foo"
+-- > kbd $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1133,7 +1133,7 @@
 --
 -- Example:
 --
--- > label $ span $ text "foo"
+-- > label $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1151,7 +1151,7 @@
 --
 -- Example:
 --
--- > legend $ span $ text "foo"
+-- > legend $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1169,7 +1169,7 @@
 --
 -- Example:
 --
--- > li $ span $ text "foo"
+-- > li $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1204,7 +1204,7 @@
 --
 -- Example:
 --
--- > map $ span $ text "foo"
+-- > map $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1222,7 +1222,7 @@
 --
 -- Example:
 --
--- > mark $ span $ text "foo"
+-- > mark $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1240,7 +1240,7 @@
 --
 -- Example:
 --
--- > menu $ span $ text "foo"
+-- > menu $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1292,7 +1292,7 @@
 --
 -- Example:
 --
--- > meter $ span $ text "foo"
+-- > meter $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1310,7 +1310,7 @@
 --
 -- Example:
 --
--- > nav $ span $ text "foo"
+-- > nav $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1328,7 +1328,7 @@
 --
 -- Example:
 --
--- > noscript $ span $ text "foo"
+-- > noscript $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1346,7 +1346,7 @@
 --
 -- Example:
 --
--- > object $ span $ text "foo"
+-- > object $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1364,7 +1364,7 @@
 --
 -- Example:
 --
--- > ol $ span $ text "foo"
+-- > ol $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1382,7 +1382,7 @@
 --
 -- Example:
 --
--- > optgroup $ span $ text "foo"
+-- > optgroup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1400,7 +1400,7 @@
 --
 -- Example:
 --
--- > option $ span $ text "foo"
+-- > option $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1418,7 +1418,7 @@
 --
 -- Example:
 --
--- > output $ span $ text "foo"
+-- > output $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1436,7 +1436,7 @@
 --
 -- Example:
 --
--- > p $ span $ text "foo"
+-- > p $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1471,7 +1471,7 @@
 --
 -- Example:
 --
--- > pre $ span $ text "foo"
+-- > pre $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1489,7 +1489,7 @@
 --
 -- Example:
 --
--- > progress $ span $ text "foo"
+-- > progress $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1507,7 +1507,7 @@
 --
 -- Example:
 --
--- > q $ span $ text "foo"
+-- > q $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1525,7 +1525,7 @@
 --
 -- Example:
 --
--- > rp $ span $ text "foo"
+-- > rp $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1543,7 +1543,7 @@
 --
 -- Example:
 --
--- > rt $ span $ text "foo"
+-- > rt $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1561,7 +1561,7 @@
 --
 -- Example:
 --
--- > ruby $ span $ text "foo"
+-- > ruby $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1579,7 +1579,7 @@
 --
 -- Example:
 --
--- > samp $ span $ text "foo"
+-- > samp $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1597,7 +1597,7 @@
 --
 -- Example:
 --
--- > script $ span $ text "foo"
+-- > script $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1615,7 +1615,7 @@
 --
 -- Example:
 --
--- > section $ span $ text "foo"
+-- > section $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1633,7 +1633,7 @@
 --
 -- Example:
 --
--- > select $ span $ text "foo"
+-- > select $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1651,7 +1651,7 @@
 --
 -- Example:
 --
--- > small $ span $ text "foo"
+-- > small $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1686,7 +1686,7 @@
 --
 -- Example:
 --
--- > span $ span $ text "foo"
+-- > span $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1704,7 +1704,7 @@
 --
 -- Example:
 --
--- > strong $ span $ text "foo"
+-- > strong $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1722,7 +1722,7 @@
 --
 -- Example:
 --
--- > style $ span $ text "foo"
+-- > style $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1740,7 +1740,7 @@
 --
 -- Example:
 --
--- > sub $ span $ text "foo"
+-- > sub $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1758,7 +1758,7 @@
 --
 -- Example:
 --
--- > summary $ span $ text "foo"
+-- > summary $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1776,7 +1776,7 @@
 --
 -- Example:
 --
--- > sup $ span $ text "foo"
+-- > sup $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1794,7 +1794,7 @@
 --
 -- Example:
 --
--- > table $ span $ text "foo"
+-- > table $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1812,7 +1812,7 @@
 --
 -- Example:
 --
--- > tbody $ span $ text "foo"
+-- > tbody $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1830,7 +1830,7 @@
 --
 -- Example:
 --
--- > td $ span $ text "foo"
+-- > td $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1848,7 +1848,7 @@
 --
 -- Example:
 --
--- > textarea $ span $ text "foo"
+-- > textarea $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1866,7 +1866,7 @@
 --
 -- Example:
 --
--- > tfoot $ span $ text "foo"
+-- > tfoot $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1884,7 +1884,7 @@
 --
 -- Example:
 --
--- > th $ span $ text "foo"
+-- > th $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1902,7 +1902,7 @@
 --
 -- Example:
 --
--- > thead $ span $ text "foo"
+-- > thead $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1920,7 +1920,7 @@
 --
 -- Example:
 --
--- > time $ span $ text "foo"
+-- > time $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1938,7 +1938,7 @@
 --
 -- Example:
 --
--- > title $ span $ text "foo"
+-- > title $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1956,7 +1956,7 @@
 --
 -- Example:
 --
--- > tr $ span $ text "foo"
+-- > tr $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -1991,7 +1991,7 @@
 --
 -- Example:
 --
--- > ul $ span $ text "foo"
+-- > ul $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -2009,7 +2009,7 @@
 --
 -- Example:
 --
--- > var $ span $ text "foo"
+-- > var $ span $ toHtml "foo"
 --
 -- Result:
 --
@@ -2027,7 +2027,7 @@
 --
 -- Example:
 --
--- > video $ span $ text "foo"
+-- > video $ span $ toHtml "foo"
 --
 -- Result:
 --
diff --git a/src/Util/GenerateHtmlCombinators.hs b/src/Util/GenerateHtmlCombinators.hs
--- a/src/Util/GenerateHtmlCombinators.hs
+++ b/src/Util/GenerateHtmlCombinators.hs
@@ -180,7 +180,7 @@
     , "--"
     , "-- Example:"
     , "--"
-    , "-- > docTypeHtml $ span $ text \"foo\""
+    , "-- > docTypeHtml $ span $ toHtml \"foo\""
     , "--"
     , "-- Result:"
     , "--"
@@ -201,7 +201,7 @@
     , "--"
     , "-- Example:"
     , "--"
-    , "-- > " ++ function ++ " $ span $ text \"foo\""
+    , "-- > " ++ function ++ " $ span $ toHtml \"foo\""
     , "--"
     , "-- Result:"
     , "--"
