-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open🏆 perfectIssue is of outstanding qualityIssue is of outstanding quality
Description
Context
Built-in tags plugin
Bug description
When a file with an inline listing (or any of its parent folders) contains a space in its name, the listing fails silently. Instead of a listing e.g. the following is rendered:
"tags filename with spaces.md:29-51/name"
<h6 filename="filename" id="tags" spaces.md:29-51_slug="spaces.md:29-51/slug" with="with">
tags filename with spaces.md:29-51/name
</h6>
Related links
Reproduction
9.6.4-filefolder-names-with-spaces-break-tag-listings.zip
Steps to reproduce
- Build
mkdocs build --verbose
- No Warning, Exception or Debug print thrown
- open
site/tags filename with spaces/index.html
(for a file name with spaces) orsite/test folder/tags_file/index.html
(for a folder name with spaces) - you can see the issue
site/tags_file/index.html
shows that tags work when the file name does not contain spaces
Browser
No response
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues and discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction using the built-in info plugin.
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open🏆 perfectIssue is of outstanding qualityIssue is of outstanding quality