Skip to content

Commit e770987

Browse files
fix from angular#13453
1 parent 60bc490 commit e770987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ngSanitize/sanitize.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ var inlineElements = angular.extend({}, optionalEndTagInlineElements, toMap("a,a
242242
// They can potentially allow for arbitrary javascript to be executed. See #11290
243243
var svgElements = toMap("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph," +
244244
"hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline," +
245-
"radialGradient,rect,stop,svg,switch,text,title,tspan,use");
245+
"radialGradient,rect,stop,svg,switch,text,title,tspan");
246246

247247
// Blocked Elements (will be stripped)
248248
var blockedElements = toMap("script,style");
@@ -511,4 +511,4 @@ function stripCustomNsAttrs(node) {
511511

512512

513513
// define ngSanitize module and register $sanitize service
514-
angular.module('ngSanitize', []).provider('$sanitize', $SanitizeProvider);
514+
angular.module('ngSanitize', []).provider('$sanitize', $SanitizeProvider);

0 commit comments

Comments
 (0)