I'm generating some anchors dynamically using something like the following HTML:
<li *ngFor="let menuItem of menuItems.getAll()">
<a [routerLink]="['/', menuItem.state]"><span>{{ menuItem.name }}</span></a>
</li>
... where the list of menu items is defined like so:
const MENUITEMS = [
{
state: 'sys-ops/elastic-indices',
name: 'ELASTIC INDICES'
}
]
But when it is rendered, the slash is encoded like so...
sys-ops%2Felastic-indices
How can I disable the encoding in just that one HTML fragment?
Here is a StackBlitz that demonstrates the problem.