diff --git a/kallithea/lib/helpers.py b/kallithea/lib/helpers.py --- a/kallithea/lib/helpers.py +++ b/kallithea/lib/helpers.py @@ -1428,7 +1428,7 @@ def render_w_mentions(source, repo_name= s = urlify_changesets(s, repo_name) s = urlify_issues(s, repo_name) s = MENTIONS_REGEX.sub(_mentions_replace, s) - return literal('%s' % s) + return literal('
%s
' % s) def short_ref(ref_type, ref_name): diff --git a/kallithea/templates/email_templates/pull_request.html b/kallithea/templates/email_templates/pull_request.html --- a/kallithea/templates/email_templates/pull_request.html +++ b/kallithea/templates/email_templates/pull_request.html @@ -10,10 +10,10 @@

${_('URL')}: ${pr_url}

${_('Description')}:

-

${body}

+

${body}

${_('Changesets')}:

-

+

%for r,r_msg in pr_revisions: ${h.short_id(r)}: ${h.shorter(r_msg, 256)}