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
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"
<h6filename="filename" id="tags" spaces.md:29-51_slug="spaces.md:29-51/slug" with="with">
tags filename with spaces.md:29-51/name
</h6>
Thanks for reporting! Fixed in 3a11e3e. Thanks to the reproduction, I was able to fix this in 5 minutes. This is a perfect issue, as it contains a precise reproduction, is not wordy but very much to the point, and is thus a perfect starting ground for us to investigate and fix the problem.
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"
Related links
Reproduction
9.6.4-filefolder-names-with-spaces-break-tag-listings.zip
Steps to reproduce
mkdocs build --verbose
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)site/tags_file/index.html
shows that tags work when the file name does not contain spacesBrowser
No response
Before submitting
The text was updated successfully, but these errors were encountered: