From 935e815432df37b08138aef0d0d3fdac755055c3 Mon Sep 17 00:00:00 2001 From: ElbertF Date: Sun, 1 Apr 2012 09:08:42 +1000 Subject: [PATCH] Fixed exporting transformed text --- raphael.export.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/raphael.export.js b/raphael.export.js index c463770..01f33d2 100644 --- a/raphael.export.js +++ b/raphael.export.js @@ -76,6 +76,8 @@ if ( typeof attrs === 'object' ) { attrs = map(attrs, function(element, name) { + if ( name === 'transform') return; + return name + '="' + escapeXML(element) + '"'; }).join(' '); }