fix(ngSanitize): attribute name: xmlns:href -> xlink:href

Closes #9769
This commit is contained in:
Georgios Kalpakas
2014-10-24 03:19:08 +03:00
committed by Caitlin Potter
parent a54b25d779
commit 4cccf0f2a8

View File

@@ -211,7 +211,7 @@ var validElements = angular.extend({},
svgElements);
//Attributes that have href and hence need to be sanitized
var uriAttrs = makeMap("background,cite,href,longdesc,src,usemap,xmlns:href");
var uriAttrs = makeMap("background,cite,href,longdesc,src,usemap,xlink:href");
var htmlAttrs = makeMap('abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,'+
'color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,'+