Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 4cccf0f

Browse files
gkalpakcaitp
authored andcommitted
fix(ngSanitize): attribute name: xmlns:href -> xlink:href
Closes #9769
1 parent a54b25d commit 4cccf0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngSanitize/sanitize.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ var validElements = angular.extend({},
211211
svgElements);
212212

213213
//Attributes that have href and hence need to be sanitized
214-
var uriAttrs = makeMap("background,cite,href,longdesc,src,usemap,xmlns:href");
214+
var uriAttrs = makeMap("background,cite,href,longdesc,src,usemap,xlink:href");
215215

216216
var htmlAttrs = makeMap('abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,'+
217217
'color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,'+

0 commit comments

Comments
 (0)