cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: updated refs/heads/master to f62791a
Date Thu, 01 Aug 2013 18:42:36 GMT
Updated Branches:
  refs/heads/master f444ce7f6 -> f62791a4a


CLOUDSTACK-3344: UI > util > _s() should not include ampersand.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f62791a4
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f62791a4
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f62791a4

Branch: refs/heads/master
Commit: f62791a4a2f8fc2852b662c6036499edb0a740a2
Parents: f444ce7
Author: Jessica Wang <jessicawang@apache.org>
Authored: Thu Aug 1 11:34:35 2013 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Thu Aug 1 11:42:25 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui/utils.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f62791a4/ui/scripts/ui/utils.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/utils.js b/ui/scripts/ui/utils.js
index aeaf02b..769aea7 100644
--- a/ui/scripts/ui/utils.js
+++ b/ui/scripts/ui/utils.js
@@ -90,8 +90,7 @@
             return '';
         }
 
-        var sanitized = value
-            .replace(/&/g, "&amp;")
+        var sanitized = value            
             .replace(/</g, "&lt;")
             .replace(/>/g, "&gt;");
 


Mime
View raw message