making <img> tags self-closing (for xmls, mainly)