Commit 6a49618 1 parent 27ba956 commit 6a49618 Copy full SHA for 6a49618
File tree 2 files changed +2
-2
lines changed
material/templates/partials
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
</ span >
9
9
</ a >
10
10
{% 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 }} ">
12
12
< ul class ="md-nav__list ">
13
13
{% for toc_item in toc_item.children %}
14
14
{% include "partials/toc-item.html" %}
Original file line number Diff line number Diff line change 5
5
{% if config.mdx_configs.toc and config.mdx_configs.toc.title %}
6
6
{% set title = config.mdx_configs.toc.title %}
7
7
{% endif %}
8
- < nav class ="md-nav md-nav--secondary " aria-label ="{{ title }} ">
8
+ < nav class ="md-nav md-nav--secondary " aria-label ="{{ title | e }} ">
9
9
{% set toc = page.toc %}
10
10
{% set first = toc | first %}
11
11
{% if first and first.level == 1 %}
You can’t perform that action at this time.
0 commit comments