use htmLawed as fallback if tidy is not available