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 %}
|
{% 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] != "" %}
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user