HTML email footer shows raw HTML

Change-Id: I45b8aa2b951c155a3f8c3c7be006604113cbc2ee
This commit is contained in:
Stephane Bisson 2016-05-17 10:42:47 -04:00 committed by Roan Kattouw
parent 91dfdfcbd0
commit 08fdaa0d22

View file

@ -127,7 +127,8 @@ EOF;
return $this->msg( 'echo-email-html-footer' ) return $this->msg( 'echo-email-html-footer' )
->params( $wgEchoEmailFooterAddress, $prefsUrl ) ->params( $wgEchoEmailFooterAddress, $prefsUrl )
->parse(); // This is a raw HTML message, so we need text() instead of parse() here
->text();
} }
private function renderLink( $link, $style ) { private function renderLink( $link, $style ) {