Fix for '#' in xlink:href for gradients.