It's not depending on attributes (I tried it just to double check and it's 
still stripped)

The problem is that it is not in the list of "validElements" so it will 
always be taken out (1.2.9: angular-sanitize.js: lines 178-206).

The question is should I make a request to get this added? it seems like it 
would be a common tag to use, so I'm skeptical that no-one else has 
requested this tag before.

On Wednesday, January 22, 2014 5:55:01 PM UTC-7, Michael Bielski wrote:
>
> I've not used $santize, but we recently had a problem with <button> tags 
> behaving differently in one browser (Firefox) than others. It turned out 
> that some people had been coding lazily and were not putting in the type 
> attribute. Setting that attribute to 'button' solved all of our issues (FF 
> treats these as a type=submit, but everything else we use treats them as 
> type=button.) This leads me to wonder if perhaps yours are missing the same 
> attribute and are stripped because of that? Not having that tag would be a 
> major re-write for our UI, so I hope that someone can shed some light on 
> your situation. I have no particular fondness for the possibility of that 
> re-write if we decide we need to use $sanitize (and we have considered it.)
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to