Escape invalid XML chars during serialization.

This commit is contained in:
Paulo Gustavo Veiga
2013-03-17 11:22:53 -03:00
parent 3578d6e624
commit 48e211cc2d
97 changed files with 62 additions and 550 deletions

View File

@@ -181,7 +181,6 @@ public class MindmapController extends BaseController {
final Mindmap mindmap = mindmapService.findMindmapById(id);
String xmlStr = mindmap.getXmlStr();
xmlStr = xmlStr.replace('\r',' '); // This is a temporal hack. Remove in 2014 ... :)
return xmlStr.getBytes("UTF-8");
}