render html tag without extra space when html_attribs is empty