dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a91f49
)
Fix transclusion inside of tables. BUG #962494
author
Jens Frank
<jeluf@users.mediawiki.org>
Mon, 31 May 2004 12:12:18 +0000
(12:12 +0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Mon, 31 May 2004 12:12:18 +0000
(12:12 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
0b6d39d
..
50f0268
100644
(file)
--- 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 );