Skip to content

Commit

Permalink
fix(taSanitize): Allow id attribute.
Browse files Browse the repository at this point in the history
Fixes #355
  • Loading branch information
SimeonC authored and SimeonC committed Oct 20, 2014
1 parent 763ccb3 commit 7afc96c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textAngular-sanitize.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ var uriAttrs = makeMap("background,cite,href,longdesc,src,usemap");
var validAttrs = angular.extend({}, uriAttrs, makeMap(
'abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,'+
'color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,'+
'ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,'+
'id,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,'+
'scope,scrolling,shape,size,span,start,summary,target,title,type,'+
'valign,value,vspace,width'));

Expand Down

0 comments on commit 7afc96c

Please sign in to comment.