Skip to content

Commit 6a49618

Browse files
committed
Added distribution files
1 parent 27ba956 commit 6a49618

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

material/templates/partials/toc-item.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</span>
99
</a>
1010
{% if toc_item.children %}
11-
<nav class="md-nav" aria-label="{{ toc_item.title | striptags }}">
11+
<nav class="md-nav" aria-label="{{ toc_item.title | striptags | e }}">
1212
<ul class="md-nav__list">
1313
{% for toc_item in toc_item.children %}
1414
{% include "partials/toc-item.html" %}

material/templates/partials/toc.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% if config.mdx_configs.toc and config.mdx_configs.toc.title %}
66
{% set title = config.mdx_configs.toc.title %}
77
{% endif %}
8-
<nav class="md-nav md-nav--secondary" aria-label="{{ title }}">
8+
<nav class="md-nav md-nav--secondary" aria-label="{{ title | e }}">
99
{% set toc = page.toc %}
1010
{% set first = toc | first %}
1111
{% if first and first.level == 1 %}

0 commit comments

Comments
 (0)