summaryrefslogtreecommitdiffstats
path: root/js/vendor/angular-sanitize/angular-sanitize.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vendor/angular-sanitize/angular-sanitize.js')
-rw-r--r--js/vendor/angular-sanitize/angular-sanitize.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/js/vendor/angular-sanitize/angular-sanitize.js b/js/vendor/angular-sanitize/angular-sanitize.js
index 67c9694e1..f463a8c95 100644
--- a/js/vendor/angular-sanitize/angular-sanitize.js
+++ b/js/vendor/angular-sanitize/angular-sanitize.js
@@ -1,5 +1,5 @@
/**
- * @license AngularJS v1.3.3
+ * @license AngularJS v1.3.4
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
@@ -661,13 +661,13 @@ angular.module('ngSanitize').filter('linky', ['$sanitize', function($sanitize) {
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>');
}