From 0f97573ce9985ea6673cb894ed6bbff7885b607e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Tue, 28 Oct 2014 20:57:47 +0100 Subject: [PATCH] CoreTagHooks: Use parse() for output to HTML rather than text() Change-Id: I9f28afe185a24883fb575dd6df8a23c4ab233b64 --- includes/parser/CoreTagHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/CoreTagHooks.php b/includes/parser/CoreTagHooks.php index 3ffa16c41d..df868eabd5 100644 --- a/includes/parser/CoreTagHooks.php +++ b/includes/parser/CoreTagHooks.php @@ -135,7 +135,7 @@ class CoreTagHooks { public static function indicator( $content, array $attributes, Parser $parser, PPFrame $frame ) { if ( !isset( $attributes['name'] ) || trim( $attributes['name'] ) === '' ) { return '' . - wfMessage( 'invalid-indicator-name' )->inContentLanguage()->text() . + wfMessage( 'invalid-indicator-name' )->inContentLanguage()->parse() . ''; } -- 2.20.1