# HG changeset patch # User Kateryna Musina # Date 2016-05-03 14:57:44 # Node ID 10d0aec7e68b2845734e540e764526c1de211d2b # Parent ecc2a13a308d40329a36f9f587478cb2114cfaff helpers: remove from render_w_mentions b97ba9b23796 introduced use of , but that is semantically incorrect. The mail templates do not have css and we thus put explicit styling around its use. 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)}