summaryrefslogtreecommitdiffstats
path: root/js/vendor/angular-sanitize/angular-sanitize.js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-27 16:19:56 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-27 16:19:56 +0100
commit01fe3a627ea76c10ec759fb070ea47a0851a0636 (patch)
tree5f9c0b94742e070f20ab111766d3218bd6c7510f /js/vendor/angular-sanitize/angular-sanitize.js
parent7c34fee7ebc09ffaaf14019ae195b1b42e138e3f (diff)
version bump
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>');
}