This line in `get_html_chunks()` causes an error when is_clean_html=False `html, removed = clean_html(html, attr_cutoff_len) if is_clean_html else html`