diff options
-rw-r--r-- | pyproject.toml | 2 | ||||
-rwxr-xr-x | src/formbox.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml index 46f20c3..4763535 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi" [project] name = "formbox" -version = "0.4.0" +version = "0.4.1" description = "Format mbox as HTML/XML" readme = "README.md" requires-python = ">=3.6" diff --git a/src/formbox.py b/src/formbox.py index 0be3093..3943401 100755 --- a/src/formbox.py +++ b/src/formbox.py @@ -75,7 +75,7 @@ def render(template, archive, parent): if body is None: continue message_id = self['Message-Id'] # Please don't have space in email addresses - author = ' '.join(decode(self['From'])).rsplit(maxsplit=1)[0] + author = ''.join(decode(self['From'])).rsplit(maxsplit=1)[0] rendered_children = render(template, archive, message_id) yield template.format(in_reply_to=quote(parent), message_id=quote(message_id), author=author, |