Fix save on Opera.

This commit is contained in:
Paulo Gustavo Veiga
2013-03-02 21:29:26 -03:00
parent 9cabfb14a5
commit bf3bd5c1c7
2 changed files with 2 additions and 4 deletions

View File

@@ -112,7 +112,7 @@ public class MindmapServiceImpl
throw new WiseMappingException("Could not be decoded.",e);
}
if (!xml.startsWith("<map") || !xml.endsWith("</map>")) {
if (!xml.endsWith("</map>")) {
throw new WiseMappingException("Map seems not to be a valid mindmap: '"+xml +"'");
}