update to use with hacked HTML::HTML5::Parser