Removed HTML tags from nav item titles (#1073)

This commit is contained in:
Lars 2019-04-16 11:29:16 +02:00 committed by Martin Donath
parent 2df4a2c99d
commit bd8eaf4a09
6 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -66,7 +66,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block libs %} {% block libs %}
<script src="{{ 'assets/javascripts/modernizr.1f0bcf2b.js' | url }}"></script> <script src="{{ 'assets/javascripts/modernizr.01ccdecf.js' | url }}"></script>
{% endblock %} {% endblock %}
{% block fonts %} {% block fonts %}
{% if font != false %} {% if font != false %}
@ -190,7 +190,7 @@
{% endblock %} {% endblock %}
</div> </div>
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/application.3ca04de7.js' | url }}"></script> <script src="{{ 'assets/javascripts/application.a8f24370.js' | url }}"></script>
{% if lang.t("search.language") != "en" %} {% if lang.t("search.language") != "en" %}
{% set languages = lang.t("search.language").split(",") %} {% set languages = lang.t("search.language").split(",") %}
{% if languages | length and languages[0] != "" %} {% if languages | length and languages[0] != "" %}

View File

@ -38,7 +38,7 @@
{{ nav_item.title }} {{ nav_item.title }}
</label> </label>
{% endif %} {% endif %}
<a href="{{ nav_item.url | url }}" title="{{ nav_item.title }}" class="md-nav__link md-nav__link--active"> <a href="{{ nav_item.url | url }}" title="{{ nav_item.title | striptags }}" class="md-nav__link md-nav__link--active">
{{ nav_item.title }} {{ nav_item.title }}
</a> </a>
{% if toc_ | first is defined %} {% if toc_ | first is defined %}
@ -47,7 +47,7 @@
</li> </li>
{% else %} {% else %}
<li class="{{ class }}"> <li class="{{ class }}">
<a href="{{ nav_item.url | url }}" title="{{ nav_item.title }}" class="md-nav__link"> <a href="{{ nav_item.url | url }}" title="{{ nav_item.title | striptags }}" class="md-nav__link">
{{ nav_item.title }} {{ nav_item.title }}
</a> </a>
</li> </li>

View File

@ -81,7 +81,7 @@
{{ nav_item.title }} {{ nav_item.title }}
</label> </label>
{% endif %} {% endif %}
<a href="{{ nav_item.url | url }}" title="{{ nav_item.title }}" <a href="{{ nav_item.url | url }}" title="{{ nav_item.title | striptags }}"
class="md-nav__link md-nav__link--active"> class="md-nav__link md-nav__link--active">
{{ nav_item.title }} {{ nav_item.title }}
</a> </a>
@ -95,7 +95,7 @@
<!-- Main navigation item --> <!-- Main navigation item -->
{% else %} {% else %}
<li class="{{ class }}"> <li class="{{ class }}">
<a href="{{ nav_item.url | url }}" title="{{ nav_item.title }}" <a href="{{ nav_item.url | url }}" title="{{ nav_item.title | striptags }}"
class="md-nav__link"> class="md-nav__link">
{{ nav_item.title }} {{ nav_item.title }}
</a> </a>