Bootstrap 3.4.1 and 4.3.1 now comes with a sanitizer to perform XSS prevention. I'm trying to allow all the necessary attributes to render a progress bar inside the popover of an A
Solution 1:
Shit. I forgot the style attribute.
So the right role is:
myDefaultWhiteList.div = ['style'];
because 'role', 'aria-valuenow', 'aria-valuemin', 'aria-valuemax' are already defined in the default whitelist.
Share
Post a Comment
for "Bootstrap 3.4.1 Sanitizer: Allow Progress-bar Inside A Popover"
Post a Comment for "Bootstrap 3.4.1 Sanitizer: Allow Progress-bar Inside A Popover"