Upon more investigation, the issue was already reported in
2020: https://github.com/golang/go/issues/39748 but never fixed
There is a workaround with Hugo to prevent minification from removing
quotes.
Add this to hugo conf file:
minify:
tdewolff:
html:
keepQuotes: true
Le mardi 12
Much thanks for finding the issue !
The site is generated by Hugo, I'll try to fix the template.
Le mardi 12 novembre 2024 à 17:19:14 UTC+1, Sean Liao a écrit :
> No, it;s a bug similar to https://github.com/prettier/prettier/issues/8210
>
> `go` follows the redirects, but there are several el
No, it;s a bug similar to https://github.com/prettier/prettier/issues/8210
`go` follows the redirects, but there are several elements in your
html that cause parsing issues (unquoted attribute values containing
`/`).
>
>
>
>
>
>
See https://go.dev/play/p/XOe6Z1czYWe
go parser
https://go.g
update: I think I might I found the issue, the bot doesn't seems to follow
redirections (at least 301 ones).
Thanks to the option "-x" of go get:
go get -x nspeed.app/nspeed@v0.12.0
leads to
https://nspeed.app/nspeed?go-get=1
which redirects '301) to the same url but with trailing slash:
http