You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments