This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$sanitize removes the tabindex property #5853
Closed
Description
Hi guys
I am trying to sanitize some html with the $sanitize service of the ngSanitize module. Unfortuantely $sanitize removes the tabindex property so I can make the link "not fucusable".
so this piece of code:
$sanitize('<a ng-href="someUrl" tabindex="-1">go</a>')
will return
'<a href="someUrl">go</a>"
I have been searching a bit and I couldn´t find any security issue regarding the tabindex property so could it be possible to add this property to the list of valid attrs???