Skip to content

Commit

Permalink
IBX-9285: Navigation anchor on content creation/edition not working w…
Browse files Browse the repository at this point in the history
…ith diacritical marks
  • Loading branch information
lucasOsti committed Dec 16, 2024
1 parent 843ac71 commit b3ccad1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
{%- if loop.first %}
{%- set itemClass = itemClass ~ ' ibexa-anchor-navigation-menu__sections-item-btn--active' %}
{%- endif %}
{%- do item.setAttribute('data-target-id', "#" ~ item.getAttribute('data-target-id')) -%}
{%- do item.setAttribute('data-target-id', "#" ~ item.getAttribute('data-target-id')|lower|slug) -%}
{%- do item.setAttribute('class', (item.getAttribute('class') ~ ' ' ~ itemClass)|trim) -%}
{%- do item.setAttribute('type', 'button') -%}
{%- do item.setLabelAttribute('class', 'ibexa-anchor-navigation-menu__sections-item-btn-label') -%}
Expand Down

0 comments on commit b3ccad1

Please sign in to comment.