mirror of
https://github.com/wisemapping/wisemapping-open-source.git
synced 2025-04-05 11:56:29 +08: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...
|
||||
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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user