Same scratch variable used for <im> and link preload tag, but all spaces replaced by 20 in the link imagesrc attribute

I assume this comment is from you:
https://github.com/golang/go/issues/47452#issuecomment-2063852947

If so, your question is inappropriate for the Go issue queue. Your question belongs here, and you and I have had this conversation before:

https://discourse.gohugo.io/t/cant-get-around-syntax-issues-with-printf-print-and-safehtmlattr/44152/29

Also, if the comment is from you, your GitHub name is both unfortunate and unwise:

image