Fix accordion and tab targets with special meaning characters

This fixes the issue of special meaning characters in id's on togglable tabs, and collapsible panels without the need for escaping the id's.

Refs: https://github.com/twbs/bootstrap/issues/14285, https://github.com/twbs/bootstrap/pull/13832