drupal 8: Theme used "bartik".
If user is logged in, the active menu item has an <a>
- tag, if not the tag is missing.
Is this the expected drupal behavior? btw. the same happens on the language switcher block.
How can i output the a-href tag for anonymous users? This would make theming menus much easier. Thx for any help or pointing me into the right direction
markup for anonymous user
<ul class="clearfix menu">
.....
<li class="menu-item menu-item--active-trail">
c
</li>
markup for admin user
<ul class="clearfix menu">
......
<li class="menu-item menu-item--active-trail">
<a href="/drupal-8.0.3-clean/node/3" data-drupal-link-system-path="node/3" class="is-active">c</a>
</li>