datopian / flowershow

💐 Publish your obsidian digital garden or any markdown site easily and elegantly.
https://flowershow.app/
MIT License
750 stars 92 forks source link

Links to non-latin filenames doesn't works: causes stripping in <a href> #537

Closed grosslarnakh closed 10 months ago

grosslarnakh commented 11 months ago

I seem to have encountered a bug in url_path.

As soon as there is a link to a file with non-Latin characters in the name of markdown files, <a href> is stripped of its content.

Screenshot 2023-07-30 at 14 00 40

Screenshot 2023-07-30 at 14 01 56

Screenshot 2023-07-30 at 13 56 47

grosslarnakh commented 11 months ago

take a look: https://stackoverflow.com/questions/150033/regular-expression-to-match-non-ascii-characters