Handling failures in make_links_absolute/resolve_base_href
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Confirmed
|
Low
|
Unassigned |
Bug Description
Python : sys.version_
lxml.etree : (4, 1, 0, 0)
libxml used : (2, 9, 5)
libxml compiled : (2, 9, 5)
libxslt used : (1, 1, 30)
libxslt compiled : (1, 1, 30)
In file 'lxml/html/
def make_links_
...
if resolve_base_href:
...
I think it should be:
if resolve_base_href:
Otherwise, calling 'make_links_
at the end.
Regards,
Hieu
Yes, that looks more correct. Care to send a pull request (with tests)?