remove whitespace from urls embedded in link references like the
reference parser