ajaxorg/cloud9 — pull request #2375 by janjongboom (2012-10-30 18:14:41+00:00)
Title: [Dijkstra] IDE breaks when having unsaved file with </script> in it

Dont use CData to store the temp content of a file because its emitted to the HTML of the IDE and CData keeps the content as is, because there can be code like a closing script tag in there this is rendered as part of the IDE and thus breaking the HTML. Text node seems to do exactly the same here, and does the proper escaping. File restoring still works as expected, the only cost is that it requires more space to store files that haven't been saved before but that's a small offer I think.

Fixes ajaxorg/cloud9infra#2709

@ajaxorg/dijkstra