fix double closing </a> for filenames