diff --git a/juriscraper/opinions/united_states/state/mass.py b/juriscraper/opinions/united_states/state/mass.py index 02cf4b905..75ee81a94 100644 --- a/juriscraper/opinions/united_states/state/mass.py +++ b/juriscraper/opinions/united_states/state/mass.py @@ -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")