tomfran / typo

A simple Hugo theme
https://tomfran.github.io/
MIT License
237 stars 67 forks source link

Tags displayed as URL-Encoded in posts #4

Closed Kosette closed 5 months ago

Kosette commented 5 months ago

I test it in Chinese (I think this applys to many other URL-Encoded characters), while in posts tags are all displayed as raw URL-Encoded strings.

Reproduction

Setting

tags: ["test","测试"]
showTags: true

Screenshot

image

I test it using hugo server -D

tomfran commented 5 months ago

Hi! Thank you for submitting the issue. I looked into it and found out that I was passing the tag through the urlize function.

I just pushed a fix, let me know if you still see the issue.

Screenshot 2024-06-02 at 11 47 42