Skip to content

Commit 7afc96c

Browse files
SimeonCSimeonC
SimeonC
authored and
SimeonC
committed
fix(taSanitize): Allow id attribute.
Fixes #355
1 parent 763ccb3 commit 7afc96c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textAngular-sanitize.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ var uriAttrs = makeMap("background,cite,href,longdesc,src,usemap");
213213
var validAttrs = angular.extend({}, uriAttrs, makeMap(
214214
'abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,'+
215215
'color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,'+
216-
'ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,'+
216+
'id,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,'+
217217
'scope,scrolling,shape,size,span,start,summary,target,title,type,'+
218218
'valign,value,vspace,width'));
219219

0 commit comments

Comments
 (0)