jenkins-bot has submitted this change and it was merged.

Change subject: HTML email footer shows raw HTML
......................................................................


HTML email footer shows raw HTML

Change-Id: I45b8aa2b951c155a3f8c3c7be006604113cbc2ee
(cherry picked from commit 08fdaa0d22ef83a767abbcea293252d485f4e102)
---
M includes/formatters/EchoHtmlEmailFormatter.php
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Dereckson: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/formatters/EchoHtmlEmailFormatter.php 
b/includes/formatters/EchoHtmlEmailFormatter.php
index 54d268d..3c4e4d2 100644
--- a/includes/formatters/EchoHtmlEmailFormatter.php
+++ b/includes/formatters/EchoHtmlEmailFormatter.php
@@ -127,7 +127,8 @@
 
                return $this->msg( 'echo-email-html-footer' )
                        ->params( $wgEchoEmailFooterAddress, $prefsUrl )
-                       ->parse();
+                       // This is a raw HTML message, so we need text() 
instead of parse() here
+                       ->text();
        }
 
        private function renderLink( $link, $style ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/289270
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I45b8aa2b951c155a3f8c3c7be006604113cbc2ee
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: wmf/1.28.0-wmf.2
Gerrit-Owner: Catrope <roan.katt...@gmail.com>
Gerrit-Reviewer: Dereckson <dereck...@espace-win.org>
Gerrit-Reviewer: Sbisson <sbis...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to