Fix accordion heading directive to avoid miscompilation