How to use URLs for image link href and img src with html/template?

@christophberger Thanks for the response. I figured out what the issue was. The URLs were being passed to the template as sql.NullString rather than string. So, the solution was simply to change .ImageHref and .ImageSrc to .ImageHref.String and .ImageSrc.String. It works without using safeURL so I don’t know if there is any reason to keep it.