aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mammoth/conversion.py2
-rw-r--r--tests/conversion_tests.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/mammoth/conversion.py b/mammoth/conversion.py
index 85d8ec5..fa07d03 100644
--- a/mammoth/conversion.py
+++ b/mammoth/conversion.py
@@ -317,7 +317,7 @@ def _document_matcher_matches(matcher, element, element_type):
def _comment_author_label(comment):
- return comment.author_initials or "Comment"
+ return comment.author_initials or ""
_up_arrow = "↑"
diff --git a/tests/conversion_tests.py b/tests/conversion_tests.py
index 74a1d10..e91d4ed 100644
--- a/tests/conversion_tests.py
+++ b/tests/conversion_tests.py
@@ -485,8 +485,8 @@ def when_initials_are_not_blank_then_comment_author_label_is_initials():
@istest
-def when_initials_are_blank_then_comment_author_label_is_comment():
- assert_equal("Comment", _comment_author_label(documents.comment(
+def when_initials_are_blank_then_comment_author_label_is_blank():
+ assert_equal("", _comment_author_label(documents.comment(
comment_id="0",
body=[],
author_initials=None,