fixes #194

some <hn> tag may has attributes.