Add the svg image tag as an svg inline element (not a block element) and add it as an empty element (TidyEmptyTags).