Fixes issue if a quote is inserted into a link