statiqdev / Statiq.Web

Statiq Web is a flexible static site generator written in .NET.

Home Page:https://statiq.dev/web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Analyzer warning when using Unicode Tags.

daveaglick opened this issue · comments

Discussed in https://github.com/orgs/statiqdev/discussions/169

Originally posted by StevenTCramer September 17, 2022
I have added a tag for posts in the Thai language.

When I use Thai all is good but when I use ไทย then the site works perfectly fine, but the analyzer gives me:

...
 Could not validate relative link: <a href="/tags/&amp;#xE44;&amp;#xE17;&amp;#xE22;" 
...

I'm not sure how it is trying to do the analysis of the link.

Possibly related to #998 which also seems to be dependent on escaping. I'm thinking it's tripping up the way analyzers identify what should be processed and how.

Verified that the fix for #998 also applies here and added a test to confirm