fixing export error with image tag with hack

This commit is contained in:
Pablo Luna 2011-04-06 16:37:40 +01:00
parent 692436b18d
commit ae858476b1

View File

@ -286,7 +286,7 @@ public class ExporterFactory {
// Add namespace...
result = result.replaceFirst("<svg ", "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" ");
result = result.replaceAll("/<image([^>]+)//?>/", "<image$1></image>");
return result.toCharArray();
}