converted svg to inline code like a pro