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 markdown link contains spaces (within <>) or encoded spaces (%20) or diacritics (example: hypothèse), InputPathToUrlTransformPlugin does not work as intended.
From a file name hypothèse.md, instead of generating "/hypothèse", for example, it outputs /hypothèse.md.
Generated files are OK, and an html link to "/hypothèse" is working. This is only about markdown links.
Reproduction steps
Get the archive, extract it, npm install in it, and npx @11ty/eleventy --serve.
Go to home page.
Click on links (the first, "Plip", is OK, the last three are html and OK, the others aren't).
Operating system
Ubuntu Linux 24.04
Eleventy
3.0.0
Describe the bug
When a markdown link contains spaces (within
<>
) or encoded spaces (%20
) or diacritics (example:hypothèse
), InputPathToUrlTransformPlugin does not work as intended.From a file name
hypothèse.md
, instead of generating "/hypothèse", for example, it outputs/hypothèse.md
.Generated files are OK, and an html link to "/hypothèse" is working. This is only about markdown links.
Reproduction steps
npm install
in it, andnpx @11ty/eleventy --serve
.eleventy-sample-inputPathToUrl-test.zip
Expected behavior
I expect the links to lead to the correctly generated html files, whether they contain spaces, %20, or diacritics.
Thanks for the hard work, I'm hoping this issue is correctly written.
Reproduction URL
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: