add spaces to self-closing tags