|
@@ -60,7 +60,7 @@ App.config = Em.Object.create({
|
|
|
*/
|
|
|
escapeXMLCharacters: function(value) {
|
|
|
var self = this;
|
|
|
- // To prevent double/triple replacing '>' to '>gt;' to '>gt;gt', we need
|
|
|
+ // To prevent double/triple replacing '>' to '>' to '>', we need
|
|
|
// to first unescape all XML chars, and then escape them again.
|
|
|
var newValue = String(value).replace(/(&|<|>|"|')/g, function (s) {
|
|
|
return self.xmlUnEscapeMap[s];
|