diff --git a/includes/formatters/EchoHtmlEmailFormatter.php b/includes/formatters/EchoHtmlEmailFormatter.php index 54d268d47..3c4e4d2e2 100644 --- a/includes/formatters/EchoHtmlEmailFormatter.php +++ b/includes/formatters/EchoHtmlEmailFormatter.php @@ -127,7 +127,8 @@ EOF; 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 ) {