orzih / mkdocs-with-pdf

Generate a single PDF file from MkDocs repository.
MIT License
332 stars 77 forks source link

Local links on paths with special characters are not working #25

Closed JanoschDeurer closed 4 years ago

JanoschDeurer commented 4 years ago

There still seems to be a problem with links and special characters like ä,& ect. When creating a local link inside a markdown document like this:

[local link](#some-heading)

everything works fine as long as there is no special character in the path. With special characters in the path the link is no longer working in the pdf. However if we use the path explicitly like this:

[local link](../../../path/to/here_ä/#some-heading)

the link works again.

I created a minimal example to show the three different cases I described. mkdocs_heading_example.zip

orzih commented 4 years ago

Thanks. It fixed in v0.7.5.

JanoschDeurer commented 4 years ago

Thanks, this solves the last issue we had :)