mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Removed HTML tags from nav item titles (#1073)
This commit is contained in:
parent
2df4a2c99d
commit
bd8eaf4a09
File diff suppressed because one or more lines are too long
1
material/assets/javascripts/modernizr.01ccdecf.js
Normal file
1
material/assets/javascripts/modernizr.01ccdecf.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -66,7 +66,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block libs %}
|
||||
<script src="{{ 'assets/javascripts/modernizr.1f0bcf2b.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/modernizr.01ccdecf.js' | url }}"></script>
|
||||
{% endblock %}
|
||||
{% block fonts %}
|
||||
{% if font != false %}
|
||||
@ -190,7 +190,7 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% 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" %}
|
||||
{% set languages = lang.t("search.language").split(",") %}
|
||||
{% if languages | length and languages[0] != "" %}
|
||||
|
@ -38,7 +38,7 @@
|
||||
{{ nav_item.title }}
|
||||
</label>
|
||||
{% 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 }}
|
||||
</a>
|
||||
{% if toc_ | first is defined %}
|
||||
@ -47,7 +47,7 @@
|
||||
</li>
|
||||
{% else %}
|
||||
<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 }}
|
||||
</a>
|
||||
</li>
|
||||
|
@ -81,7 +81,7 @@
|
||||
{{ nav_item.title }}
|
||||
</label>
|
||||
{% 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">
|
||||
{{ nav_item.title }}
|
||||
</a>
|
||||
@ -95,7 +95,7 @@
|
||||
<!-- Main navigation item -->
|
||||
{% else %}
|
||||
<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">
|
||||
{{ nav_item.title }}
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user