diff options
-rw-r--r-- | pyproject.toml | 2 | ||||
-rwxr-xr-x | src/formbox.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pyproject.toml b/pyproject.toml index 5a90ab5..46f20c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi" [project] name = "formbox" -version = "0.3.0" +version = "0.4.0" description = "Format mbox as HTML/XML" readme = "README.md" requires-python = ">=3.6" diff --git a/src/formbox.py b/src/formbox.py index 2136a0c..0be3093 100755 --- a/src/formbox.py +++ b/src/formbox.py @@ -78,9 +78,9 @@ def render(template, archive, parent): 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), + message_id=quote(message_id), author=author, mailto_params=urlencode(dict(reply_to(self))), - date=date(self).isoformat(), author=author, + date=date(self).isoformat(), rfc822=self['Date'], body=body, children='\n'.join(rendered_children)) |