Skip to content

Commit

Permalink
Remove superfluous prints
Browse files Browse the repository at this point in the history
  • Loading branch information
hroncok authored and frenzymadness committed Nov 15, 2024
1 parent a074425 commit 60d1f79
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lxml_html_clean/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,10 +615,8 @@ def _remove_sneaky_css_comments(self, style):
"""
for match in self._find_comments(style):
comment = match.group(0)
print("f", comment)
if _has_javascript_scheme(comment) or _looks_like_tag_content(comment):
style = style.replace(comment, "/* deleted */")
print("f", style)

return style

Expand Down

0 comments on commit 60d1f79

Please sign in to comment.