Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix return of
html.fragments_fromstring
If the string contains leading text, the first element of the returned list will be a `str`. Only if `no_leading_text=True` was specified can we guarantee that there will be no `str` fragment at the beginning.
- Loading branch information