Fix regex so it doesn't strip everything on the first line of the svg