Don't return partial results when htmlbeautifier raises an exception