gethugothemes / dot-hugo

Dot - Hugo Documentation Theme
https://gethugothemes.com/products/dot/?utm_source=dot_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
260 stars 148 forks source link

turkish character bug fix on faq shortcode #160

Closed ohanedan closed 3 years ago

ohanedan commented 3 years ago

When i using faq shortcode, i saw turkish characters(like "ı", "ç") broke accordion system. I solved this problem by taking the key in another parameter. Unless parameter, everything is same.

somratpro commented 3 years ago

Hello @ohanedan

Thanks for your contribution, but this is not the way to fix this problem. a user won't get it. maybe replace those 2 characters would fix the problem.

ohanedan commented 3 years ago

Hi, thanks for response.

Replace looks like a temporary fix. I looked the functions in the hugo documentation. If we change anchorize function to sha1 function this would be a solution for all characters.

somratpro commented 3 years ago

That's great, thank you.