diff --git a/blaze-svg.cabal b/blaze-svg.cabal
--- a/blaze-svg.cabal
+++ b/blaze-svg.cabal
@@ -1,5 +1,5 @@
 name:                blaze-svg
-version:             0.3.1.0
+version:             0.3.3.0
 synopsis:            SVG combinator library
 homepage:            https://github.com/deepakjois/blaze-svg
 license:             BSD3
diff --git a/src/Text/Blaze/Svg11.hs b/src/Text/Blaze/Svg11.hs
--- a/src/Text/Blaze/Svg11.hs
+++ b/src/Text/Blaze/Svg11.hs
@@ -788,12 +788,13 @@
 {-# INLINE symbol #-}
 
 -- WARNING: The next block of code was automatically generated by
--- src/Util/GenerateSvgCombinators.hs:205
+-- src/Util/GenerateSvgCombinators.hs:186
 --
--- | Combinator for the @\<text />@ element.
+-- | Combinator for the @\<text>@ element.
 --
-text_ :: Svg  -- ^ Resulting SVG.
-text_ = Leaf "text" "<text" " />"
+text_ :: Svg  -- ^ Inner SVG.
+      -> Svg  -- ^ Resulting SVG.
+text_ = Parent "text" "<text" "</text>"
 {-# INLINE text_ #-}
 
 -- WARNING: The next block of code was automatically generated by
diff --git a/src/Util/GenerateSvgCombinators.hs b/src/Util/GenerateSvgCombinators.hs
--- a/src/Util/GenerateSvgCombinators.hs
+++ b/src/Util/GenerateSvgCombinators.hs
@@ -242,7 +242,7 @@
         ]
     , parents =
         [ "a","defs","glyph","g","marker","mask","missing-glyph","pattern", "svg"
-        , "switch", "symbol", "linearGradient", "radialGradient", "clipPath"
+        , "switch", "symbol", "linearGradient", "radialGradient", "clipPath", "text" 
         ]
     , leafs =
         [ "altGlyph", "altGlyphDef", "altGlyphItem", "animate", "animateColor"
@@ -258,7 +258,7 @@
         , "font-face-uri", "foreignObject" , "glyphRef", "hkern", "image"
         , "line", "metadata", "mpath", "path"
         , "polygon" , "polyline", "rect", "script", "set"
-        , "stop", "style" , "text", "textPath", "title", "tref", "tspan", "use"
+        , "stop", "style" , "textPath", "title", "tref", "tspan", "use"
         , "view", "vkern"
         ]
     , attributes =
