mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
3f978d86f6
Some plugins/extensions might use the data-toc-label attribute of headings to set a particular string for the ToC item title. While not explicitly documented as possible or allowed, they might set some HTML code instead of text. In this case, the aria label of Toc nav elements break the HTML as they will contain unescaped double quotes. To fix this, we use the `striptags` filter to remove any tags from the aria label, keeping text only. |
||
---|---|---|
.. | ||
integrations | ||
javascripts | ||
languages | ||
actions.html | ||
comments.html | ||
consent.html | ||
content.html | ||
copyright.html | ||
feedback.html | ||
footer.html | ||
header.html | ||
icons.html | ||
language.html | ||
logo.html | ||
nav-item.html | ||
nav.html | ||
search.html | ||
social.html | ||
source-file.html | ||
source.html | ||
tabs-item.html | ||
tabs.html | ||
tags.html | ||
toc-item.html | ||
toc.html |