HTMLTag.attr is now a list, not a dict
Fix rendering of valueless attr, e.g. input(checked)
Preserve newlines in tag attr list