diff --git a/Text/Blaze/Svg11.hs b/Text/Blaze/Svg11.hs
--- a/Text/Blaze/Svg11.hs
+++ b/Text/Blaze/Svg11.hs
@@ -612,12 +612,13 @@
 {-# INLINE line #-}
 
 -- WARNING: The next block of code was automatically generated by
--- Util/GenerateSvgCombinators.hs:207
+-- Util/GenerateSvgCombinators.hs:188
 --
--- | Combinator for the @\<linearGradient />@ element.
+-- | Combinator for the @\<linearGradient>@ element.
 --
-lineargradient :: Svg  -- ^ Resulting SVG.
-lineargradient = Leaf "linearGradient" "<linearGradient" " />"
+lineargradient :: Svg  -- ^ Inner SVG.
+               -> Svg  -- ^ Resulting SVG.
+lineargradient = Parent "linearGradient" "<linearGradient" "</linearGradient>"
 {-# INLINE lineargradient #-}
 
 -- WARNING: The next block of code was automatically generated by
@@ -706,12 +707,13 @@
 {-# INLINE polyline #-}
 
 -- WARNING: The next block of code was automatically generated by
--- Util/GenerateSvgCombinators.hs:207
+-- Util/GenerateSvgCombinators.hs:188
 --
--- | Combinator for the @\<radialGradient />@ element.
+-- | Combinator for the @\<radialGradient>@ element.
 --
-radialgradient :: Svg  -- ^ Resulting SVG.
-radialgradient = Leaf "radialGradient" "<radialGradient" " />"
+radialgradient :: Svg  -- ^ Inner SVG.
+               -> Svg  -- ^ Resulting SVG.
+radialgradient = Parent "radialGradient" "<radialGradient" "</radialGradient>"
 {-# INLINE radialgradient #-}
 
 -- WARNING: The next block of code was automatically generated by
diff --git a/Util/GenerateSvgCombinators.hs b/Util/GenerateSvgCombinators.hs
--- a/Util/GenerateSvgCombinators.hs
+++ b/Util/GenerateSvgCombinators.hs
@@ -244,7 +244,7 @@
         ]
     , parents =
         [ "a","defs","glyph","g","marker","mask","missing-glyph","pattern", "svg"
-        , "switch", "symbol"
+        , "switch", "symbol", "linearGradient", "radialGradient"
         ]
     , leafs =
         [ "altGlyph", "altGlyphDef", "altGlyphItem", "animate", "animateColor"
@@ -258,8 +258,8 @@
         , "feSpotLight" , "feTile", "feTurbulence", "filter", "font"
         , "font-face", "font-face-format" , "font-face-name", "font-face-src"
         , "font-face-uri", "foreignObject" , "glyphRef", "hkern", "image"
-        , "line", "linearGradient" , "metadata", "mpath", "path"
-        , "polygon" , "polyline", "radialGradient", "rect", "script", "set"
+        , "line", "metadata", "mpath", "path"
+        , "polygon" , "polyline", "rect", "script", "set"
         , "stop", "style" , "text", "textPath", "title", "tref", "tspan", "use"
         , "view", "vkern"
         ]
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.2.0.0
+version:             0.3.0.0
 synopsis:            SVG combinator library
 description:         SVG combinator library
 homepage:            https://github.com/deepakjois/blaze-svg
