From 666cf329a8e16fa4eb92da84612fa17bdda7150c Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sun, 26 Aug 2012 20:03:38 -0300 Subject: [PATCH] Hack for IE. --- .../java/com/wisemapping/exporter/ExporterFactory.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wise-webapp/src/main/java/com/wisemapping/exporter/ExporterFactory.java b/wise-webapp/src/main/java/com/wisemapping/exporter/ExporterFactory.java index b04b1f15..01b6d004 100644 --- a/wise-webapp/src/main/java/com/wisemapping/exporter/ExporterFactory.java +++ b/wise-webapp/src/main/java/com/wisemapping/exporter/ExporterFactory.java @@ -137,8 +137,13 @@ public class ExporterFactory { private Document normalizeSvg(@NotNull String svgXml, boolean embedImg) throws XMLStreamException, ParserConfigurationException, IOException, SAXException, TransformerException { final DocumentBuilder documentBuilder = getDocumentBuilder(); - svgXml = svgXml.replaceFirst("