We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 922cb7c commit 27ba956Copy full SHA for 27ba956
src/templates/partials/toc-item.html
@@ -30,7 +30,7 @@
30
31
<!-- Table of contents list -->
32
{% if toc_item.children %}
33
- <nav class="md-nav" aria-label="{{ toc_item.title | striptags }}">
+ <nav class="md-nav" aria-label="{{ toc_item.title | striptags | e }}">
34
<ul class="md-nav__list">
35
{% for toc_item in toc_item.children %}
36
{% include "partials/toc-item.html" %}
src/templates/partials/toc.html
@@ -27,7 +27,7 @@
27
{% endif %}
28
29
<!-- Table of contents -->
-<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 %}
<!--
0 commit comments