diff --git a/osmtm/templates/message.mako b/osmtm/templates/message.mako index 56521cdd..c789d557 100644 --- a/osmtm/templates/message.mako +++ b/osmtm/templates/message.mako @@ -17,7 +17,8 @@ ${message.subject|n}

- ${_('From:')} ${message.from_user.username}
+ ${_('From:')} + ${message.from_user.username}

diff --git a/osmtm/templates/user.messages.mako b/osmtm/templates/user.messages.mako index 93a84ef3..193f951c 100644 --- a/osmtm/templates/user.messages.mako +++ b/osmtm/templates/user.messages.mako @@ -19,7 +19,8 @@ import bleach % for message in messages: - ${message.from_user.username} + + ${message.from_user.username} ${bleach.clean(message.subject, [], strip=True)|n}