Takes an inline image with an SVG as it's source and swaps it for an inline SVG