Status labels in docs headings break section links #5393
Labels
Bug 🐛
P3 Triaged
Issue has been reviewed as part of legacy backlog grooming (project P3).
Triaged: v4
Triaged, to be implemented as part of Vanilla v4
Describe the bug
Our new system for adding status labels in docs pages causes links to docs sections to break. It seems like the status label's text is included in the search for a matching page section, causing navigation to those sections to break.
Consider this heading:
### Dense help text {{ status('updated') }}
This should allow you to navigate to that heading with
#dense-help-text
. However, you can only navigate to the requested heading by removing the status label.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Navigating to a documentation section by using a section name in a hash causes the browser to scroll to that section on load, regardless of status label.
The text was updated successfully, but these errors were encountered: