Hack for wron encoding on UTF chars.
parent
3895365d93
commit
5719e54091
|
@ -27,6 +27,7 @@ import org.jetbrains.annotations.Nullable;
|
|||
import java.io.IOException;
|
||||
import java.text.DateFormat;
|
||||
import java.util.*;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
public class MindMapBean {
|
||||
private Mindmap mindmap;
|
||||
|
@ -123,7 +124,10 @@ public class MindMapBean {
|
|||
}
|
||||
|
||||
public String getXmlAsJsLiteral() throws IOException {
|
||||
return this.mindmap.getXmlAsJsLiteral();
|
||||
final String xmlAsJsLiteral = this.mindmap.getXmlAsJsLiteral();
|
||||
|
||||
// Firefox is failing for this. Need to be reviewed ...
|
||||
return xmlAsJsLiteral.replace(Pattern.quote("\\u0000"),"");
|
||||
}
|
||||
|
||||
public String getProperties() throws WiseMappingException {
|
||||
|
|
Loading…
Reference in New Issue