diff --git a/src/vendor/core/getMarkupWrap.js b/src/vendor/core/getMarkupWrap.js
index 2b21b275e1..439c19199d 100644
--- a/src/vendor/core/getMarkupWrap.js
+++ b/src/vendor/core/getMarkupWrap.js
@@ -36,11 +36,15 @@ var shouldWrap = {
// Force wrapping for SVG elements because if they get created inside a
,
// they will be initialized in the wrong namespace (and will not display).
'circle': true,
+ 'defs': true,
'g': true,
'line': true,
+ 'linearGradient': true,
'path': true,
'polyline': true,
+ 'radialGradient': true,
'rect': true,
+ 'stop': true,
'text': true
};
@@ -72,11 +76,15 @@ var markupWrap = {
'th': trWrap,
'circle': svgWrap,
+ 'defs': svgWrap,
'g': svgWrap,
'line': svgWrap,
+ 'linearGradient': svgWrap,
'path': svgWrap,
'polyline': svgWrap,
+ 'radialGradient': svgWrap,
'rect': svgWrap,
+ 'stop': svgWrap,
'text': svgWrap
};