We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27ba956 commit 6a49618Copy full SHA for 6a49618
material/templates/partials/toc-item.html
@@ -8,7 +8,7 @@
8
</span>
9
</a>
10
{% if toc_item.children %}
11
- <nav class="md-nav" aria-label="{{ toc_item.title | striptags }}">
+ <nav class="md-nav" aria-label="{{ toc_item.title | striptags | e }}">
12
<ul class="md-nav__list">
13
{% for toc_item in toc_item.children %}
14
{% include "partials/toc-item.html" %}
material/templates/partials/toc.html
@@ -5,7 +5,7 @@
5
{% if config.mdx_configs.toc and config.mdx_configs.toc.title %}
6
{% set title = config.mdx_configs.toc.title %}
7
{% endif %}
-<nav class="md-nav md-nav--secondary" aria-label="{{ title }}">
+<nav class="md-nav md-nav--secondary" aria-label="{{ title | e }}">
{% set toc = page.toc %}
{% set first = toc | first %}
{% if first and first.level == 1 %}
0 commit comments