fix is_html multiline bug