Skip to content

Commit

Permalink
Merge pull request #344 from ajaxorg/issue/1790_settings_cdata
Browse files Browse the repository at this point in the history
added multiple replace of ]]> for ide.settings in ide.tmpl.html
  • Loading branch information
fjakobs committed Oct 25, 2011
2 parents 5c3df61 + e898efb commit 6333e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/cloud9/ide.js
Expand Up @@ -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);
});
Expand Down

0 comments on commit 6333e37

Please sign in to comment.