vendor/assets/javascripts/unstable/angular-sanitize.js in angularjs-rails-1.3.3 vs vendor/assets/javascripts/unstable/angular-sanitize.js in angularjs-rails-1.3.4

- old
+ new

@@ -1,7 +1,7 @@ /** - * @license AngularJS v1.3.3 + * @license AngularJS v1.3.4 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; @@ -659,16 +659,16 @@ } function addLink(url, text) { html.push('<a '); if (angular.isDefined(target)) { - html.push('target="'); - html.push(target); - html.push('" '); + html.push('target="', + target, + '" '); } - html.push('href="'); - html.push(url); - html.push('">'); + html.push('href="', + url.replace('"', '&quot;'), + '">'); addText(text); html.push('</a>'); } }; }]);