Anchor links are encoded in html-proofer output
mattcone opened this issue · comments
Matt Cone commented
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.
Garen Torikian commented
Oh I’m sorry I missed this. Was the problem fixed?
Eric Sorenson commented
I am seeing this same problem w/ html-proofer 5.0.8
* At _site/de/best-practices/index.html:591:
internally linking to building-community/#teilen-sie-die-eigent%C3%BCmerschaft-an-ihrem-projekt, which does not exist
I note the encoding is correct in the debug output as it's checking:
(354 / 1737) Internal link ../building-community/#teilen-sie-die-eigentümerschaft-an-ihrem-projekt: Checking 2 references