support for rendering inline svg