Permalink
Browse files

added multiple replace of ]]> for ide.settings in ide.tmpl.html

  • Loading branch information...
1 parent 5c3df61 commit e898efb10bf50dba01c8de9c4153f6ee8dc40c35 @linh81 linh81 committed Oct 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/cloud9/ide.js
View
@@ -211,7 +211,7 @@ Ide.DEFAULT_PLUGINS = [
}
else {
settingsPlugin.loadSettings(user, function(err, settings) {
- replacements.settingsXml = err || !settings ? "defaults" : settings.replace("]]>", "]]>");
+ replacements.settingsXml = err || !settings ? "defaults" : settings.replace(/]]>/g, ']]>');
index = template.fill(index, replacements);
res.end(index);
});

0 comments on commit e898efb

Please sign in to comment.