[html_parser] Simplify error handling

handle_data can never fail
Fix a typo