lonekorean / wordpress-export-to-markdown

Converts a WordPress export XML file into Markdown files.
MIT License
1.08k stars 221 forks source link

decodeURI #41

Closed stevermeister closed 3 years ago

stevermeister commented 4 years ago

I found that it's 2 times encoded. You only see the difference if you have many symbols that have to be encoded

lonekorean commented 3 years ago

Can you give me an example of a slug with this issue? Having trouble reproducing the problem.

I tried making some funky slugs in WordPress, but they're all sanitized. Then I cheated and edited the export file directly to change a slug to "шеллы" and it behaved as expected.

stevermeister commented 3 years ago

probably because it was already encoded by WP. mostly it was from Russian tittles, here the blog - http://stepansuvorov.com/blog

lonekorean commented 3 years ago

Alright! I was able to reproduce with Как работает маршрутизатор Angular. It really is a mess. 😄

Screenshot 2020-12-23 075914

Thanks!