From: Jens Frank Date: Mon, 31 May 2004 12:12:18 +0000 (+0000) Subject: Fix transclusion inside of tables. BUG #962494 X-Git-Tag: 1.5.0alpha1~3115 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=e2d600aa8dcc00b316bb399dd6b6c1399616c06c;p=lhc%2Fweb%2Fwiklou.git Fix transclusion inside of tables. BUG #962494 --- diff --git a/includes/Parser.php b/includes/Parser.php index 0b6d39df11..50f02685e6 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1231,7 +1231,7 @@ class Parser $text = preg_replace_callback( "/(\\n?){{{([$titleChars]*?)}}}/", "wfArgSubstitution", $text ); } # Template substitution - $regex = "/(\\n?){{([$titleChars]*)(\\|.*?|)}}/s"; + $regex = "/(\\n?){{([$nonBraceChars]*)(\\|*?|)}}/s"; $text = preg_replace_callback( $regex, "wfBraceSubstitution", $text ); array_pop( $this->mArgStack );