Skip to content

Commit

Permalink
MDL-52126 forum: Correct over-escaping of text-based emails
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols authored and stronk7 committed Nov 14, 2015
1 parent 20949f4 commit f98345b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions mod/forum/templates/forum_post_email_textemail.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@
* unsubscribediscussionlink
* forumindexlink
}}
{{ coursename }} -> {{# str }} forums, forum {{/ str }} -> {{ forumname }}{{# showdiscussionname }} -> {{ discussionname }} {{/ showdiscussionname }}
{{{ coursename }}} -> {{# str }} forums, forum {{/ str }} -> {{{ forumname }}}{{# showdiscussionname }} -> {{{ discussionname }}} {{/ showdiscussionname }}
{{ discussionlink }}
{{ subject }}
{{# str }} bynameondate, forum, { "name": "{{ authorfullname }}", "date": "{{ postdate }}" } {{/ str }}
{{{ subject }}}
{{# str }} bynameondate, forum, { "name": "{{{ authorfullname }}}", "date": "{{ postdate }}" } {{/ str }}
---------------------------------------------------------------------
{{ message }}
{{{ message }}}

{{ attachments }}
{{{ attachments }}}
---------------------------------------------------------------------
{{# canreply }}
{{# str }} postmailinfolink, forum, { "coursename": "{{ coursename }}", "replylink": "{{ replylink }}" } {{/ str }}
{{# str }} postmailinfolink, forum, { "coursename": "{{{ coursename }}}", "replylink": "{{ replylink }}" } {{/ str }}
{{/ canreply }}
{{# unsubscribeforumlink }}
{{# str }} unsubscribelink, forum, {{{ unsubscribeforumlink }}} {{/ str }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
}}

{{ discussionlink }}
{{ subject }} {{# str }} bynameondate, forum, { "name": "{{ authorfullname }}", "date": "{{ postdate }}" } {{/ str }}
{{{ subject }}} {{# str }} bynameondate, forum, { "name": "{{{ authorfullname }}}", "date": "{{ postdate }}" } {{/ str }}
---------------------------------------------------------------------
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
}}

{{ discussionlink }}
{{ subject }} ({{{ permalink }}})
{{# str }} bynameondate, forum, { "name": "{{ authorfullname }}", "date": "{{ postdate }}" } {{/ str }}
{{{ subject }}} ({{{ permalink }}})
{{# str }} bynameondate, forum, { "name": "{{{ authorfullname }}}", "date": "{{ postdate }}" } {{/ str }}
---------------------------------------------------------------------
{{ message }}
{{{ message }}}

{{ attachments }}
{{{ attachments }}}
---------------------------------------------------------------------
{{# str }} digestmailpostlink, forum, {{{ forumindexlink }}} {{/ str }}

0 comments on commit f98345b

Please sign in to comment.