I'm trying to render a navigation section of my site. And I would like to add the aria-current="page"
attribute to the current item in the navigation.
<nav>
{{ nav:main }}
<a href="{{ url }}"{{ is_current || is_parent ?= ' aria-current="page"' }}>
{{ title }}
</a>
{{ /nav:main }}
</nav>
But this is rendered with an escaped and invalid attribute.
<nav>
<a href="/" aria-current=\"page>
Home
</a>
</nav>
How do I prevent Statamic from escaping this attribute?