The ‘problem’ has actually turned into a link in the submission above. Please see attachment for the code which is causing an error on the icon.
It used to just create a direct link on the icon and then I had the download link in text to the right of the icon , now it shows the filename before the icon (download link) and a code leak after it.