html.parser: Strip trailing slashes / in html tags. Add unit test. Fixes #1233.