diff --git a/pyproject.toml b/pyproject.toml
index 485932e..a94fb60 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,7 +17,6 @@ keywords = [
[tool.poetry.dependencies]
python = "^3.6.2"
-beautifulsoup4 = '>= 4.9.3'
lxml = '>= 4.6.2'
jinja2 = ">= 2.11.2"
toml = ">= 0.10.2"
diff --git a/reqif/commands/anonymize/anonymize.py b/reqif/commands/anonymize/anonymize.py
index 4d4545c..c74f8ad 100644
--- a/reqif/commands/anonymize/anonymize.py
+++ b/reqif/commands/anonymize/anonymize.py
@@ -78,6 +78,4 @@ def _anonymize_attribute(attribute):
if attribute.attribute_type == SpecObjectAttributeType.STRING:
attribute.value = ANONYMIZED
elif attribute.attribute_type == SpecObjectAttributeType.XHTML:
- attribute.value = (
- f"{ANONYMIZED}"
- )
+ attribute.value = f"{ANONYMIZED}"
diff --git a/tests/unit/reqif/parsers/test_spec_object_parser.py b/tests/unit/reqif/parsers/test_spec_object_parser.py
index 0dd4f11..775892d 100644
--- a/tests/unit/reqif/parsers/test_spec_object_parser.py
+++ b/tests/unit/reqif/parsers/test_spec_object_parser.py
@@ -67,9 +67,7 @@ def test_02_attributes_xhtml():
spec_object = SpecObjectParser.parse(spec_object_xml)
assert spec_object.identifier == "TEST_SPEC_OBJECT_ID"
- expected_xhtml = """
- susan\n \
-"""
+ expected_xhtml = "susan"
assert (
spec_object.attribute_map[
"_7f123ed4-98dd-4eed-b96a-edc8828963a8_CREATEDBY"