From aa2c3f142e0b94221af1144667e7f489964894b9 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Wed, 25 Jul 2018 17:42:06 -0700 Subject: [PATCH] - Fix (regression in last commit): Avoid empty text node in SVG template --- editor/svg-editor.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 62a4bba0..223eef37 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -4576,11 +4576,9 @@ editor.init = function () { const cur = curConfig[type === 'fill' ? 'initFill' : 'initStroke']; // set up gradients to be used for the buttons const svgdocbox = new DOMParser().parseFromString( - ` - - - `, + `, 'text/xml' );