fixes issue where there was no space in a anchor element