mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
fixing export error with image tag with hack
This commit is contained in:
parent
692436b18d
commit
ae858476b1
@ -286,7 +286,7 @@ public class ExporterFactory {
|
|||||||
|
|
||||||
// Add namespace...
|
// Add namespace...
|
||||||
result = result.replaceFirst("<svg ", "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" ");
|
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();
|
return result.toCharArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user