html-proofer icon indicating copy to clipboard operation
html-proofer copied to clipboard

Anchor links are encoded in html-proofer output

Open mattcone opened this issue 2 years ago • 0 comments

Hey there! In our translated files, Japanese anchor links are being encoded in the html-proofer output even though the anchor links are not encoded in our HTML. So, for example, we have the following in an HTML file:

<a href="#authorization-ヘッダーを作成する">Authorization ヘッダーを作成する</a>

But see the following in the html-proofer output:

internally linking to #authorization-%E3%83%98%E3%83%83%E3%83%80%E3%83%BC%E3%82%92%E4%BD%9C%E6%88%90%E3%81%99%E3%82%8B; the file exists, but the hash ‘authorization-%E3%83%98%E3%83%83%E3%83%80%E3%83%BC%E3%82%92%E4%BD%9C%E6%88%90%E3%81%99%E3%82%8B’ does not

I'm not sure if this is a bug with html-proofer or a configuration problem on our end, but I don't recall seeing this before. Thanks for any help you can provide.

mattcone avatar Sep 08 '22 16:09 mattcone