better handling of broken html
0.3.7