Better error handling in html stripping

Abort stripping if tokenizing errs.