We have a custom default theme and Gin admin theme installed on our site.
When I enable the Cookie content blocker module it seems to break the admin toolbar in the left side panel when viewing the site in the public theme with Gin sidebar.
For example the cache clear button breaks.
The HTML gets mangled:
<a href="/en/admin/flush?token=<script data-cookie-content-blocker-asset-id=" 21okfa3npvfdzw9yyeghbcr9wcrv2gekwzskcqlyxtw"="" data-categories="["functional"]">
<script type="application/json" data-drupal-selector="drupal-settings-json">{"cookieContentBlocker":{"blockedAssets":{"grc3fvdezuq6f0z8vmlhueceagjedy4rtv68zpxagk4":"\u003Clink rel=\u0022stylesheet\u0022 media=\u0022all\u0022 href=\u0022\/core\/themes\/stable\/css\/media\/oembed.formatter.css?rrt6xc\u0022 \/\u003E\n","21okfa3npvfdzw9yyeghbcr9wcrv2gekwzskcqlyxtw":"\u003Clink rel=\u0022stylesheet\u0022 media=\u0022all\u0022 href=\u0022\/core\/themes\/stable\/css\/media\/oembed.formatter.css?rrt6xc\u0022 \/\u003E\n"},"consentAwareness":{"accepted":{"event":{"name":"","selector":""},"cookie":{"operator":"","name":"","value":""}},"declined":{"event":{"name":"","selector":""},"cookie":{"operator":"","name":"","value":""}},"change":{"event":{"name":"","selector":""}}},"categories":{"functional":{"consentAwareness":{"accepted":{"event":{"name":"","selector":""},"cookie":{"operator":"===","name":"","value":"true"}},"declined":{"event":{"name":"","selector":""},"cookie":
Active
2.1
Code