Skip to content

Commit

Permalink
Merge pull request #1254 from freelawproject/fix-mass-cleanup-content
Browse files Browse the repository at this point in the history
feat(mass): Fix cleanup content file
  • Loading branch information
flooie authored Nov 21, 2024
2 parents 2567793 + 8365068 commit 1ef2c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juriscraper/opinions/united_states/state/mass.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ def cleanup_content(content):
new_tree = etree.Element("html")
body = etree.SubElement(new_tree, "body")
body.append(content)
return html.tostring(new_tree, pretty_print=True, encoding="unicode")
return html.tostring(new_tree).decode("utf-8")

0 comments on commit 1ef2c4f

Please sign in to comment.