add img and input as possible self-closing tags
fix: don't generate BRs for contents of HTML tags