Skip to content

Commit

Permalink
fixed default .cleaned cleaner value
Browse files Browse the repository at this point in the history
  • Loading branch information
kmike committed May 8, 2024
1 parent ccaaa5b commit 4eea4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsel/selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ def attrib(self) -> Dict[str, str]:
return dict(self.root.attrib)

def cleaned(
self: _SelectorType, cleaner: Union[str, Cleaner] = "auto"
self: _SelectorType, cleaner: Union[str, Cleaner] = "html"
) -> _SelectorType:
"""
Return a copy of a Selector, with underlying subtree cleaned.
Expand Down

0 comments on commit 4eea4fa

Please sign in to comment.