From cdb8de78efe248ac3ace854095b14659f3425dfa Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 7 Jul 2016 22:34:41 +0100 Subject: Use blank author label when author's initials are missing --- mammoth/conversion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mammoth') 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 = "↑" -- cgit v1.2.3