1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-04 20:08:05 +01:00
mkdocs-material/material/partials
Timothée Mazzucotelli 3f978d86f6 Strip tags of ToC item's aria label
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.
2023-05-22 18:27:28 +02:00
..
integrations Fixed feedback widget not shown when using instant loading 2022-08-27 11:39:17 +02:00
javascripts Removed unnecessary console.log 2022-11-24 14:24:01 +01:00
languages Updated Armenian translations 2023-05-20 10:31:50 +02:00
actions.html Fixed blob edit URLs for view page source button 2023-01-05 22:59:56 +01:00
comments.html Updated documentation 2022-09-11 19:25:40 +02:00
consent.html Fixed minor tag closing issues (#4971) 2023-02-03 11:07:29 +01:00
content.html Revert b95dffa by re-adding h1 headline detection in content partial. 2023-02-16 19:38:35 +08:00
copyright.html Moved copyright into dedicated partial 2021-11-13 13:41:07 +01:00
feedback.html Removed deprecations 2022-11-12 12:50:20 +01:00
footer.html Fixed footer direction label being cut off 2023-03-29 13:01:30 +02:00
header.html Fixed theme breaking when no palette is defined 2023-04-24 14:48:48 +02:00
icons.html Refactored tag modifier implementation 2023-02-26 15:28:47 +01:00
language.html Renamed 'language' partials folder into 'languages' for consistency 2020-12-30 13:21:27 +01:00
logo.html Moved logo to partials 2020-03-26 15:38:50 +01:00
nav-item.html Improved accessibility of sidebar navigation 2023-01-28 12:54:19 +01:00
nav.html Removed .title suffix on translations 2022-11-12 13:56:18 +01:00
search.html Fixed accessibility issue with search result list 2023-01-14 19:59:30 +01:00
social.html Added Mastodon verification for social links 2023-02-03 17:33:28 +01:00
source-file.html Removed unnecessary redundant imports 2021-11-13 13:50:46 +01:00
source.html Added view source button 2022-12-11 18:32:22 +01:00
tabs-item.html Merge of Insider features part of 'Prairie Fire' funding goal 2020-12-20 15:00:21 +01:00
tabs.html Removed unnecessary CSS class 2023-02-12 19:13:59 +01:00
tags.html Refactored tag modifier implementation 2023-02-26 15:28:47 +01:00
toc-item.html Strip tags of ToC item's aria label 2023-05-22 18:27:28 +02:00
toc.html Fixed table of contents title not showing 2022-12-08 18:27:05 +01:00