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
(from parent 1:
3b1eb35
)
Whitespace, and flag hack
author
Rob Church
<robchurch@users.mediawiki.org>
Thu, 12 Jan 2006 20:56:55 +0000
(20:56 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Thu, 12 Jan 2006 20:56:55 +0000
(20:56 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
0b3d92d
..
08575c1
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-3289,9
+3289,8
@@
class Parser
);
$text = preg_replace( '/~{3,5}/', '', $text );
- if( $parsing) {
- $text = $this->replaceVariables( $text );
- }
+ # TODO: Fix this, it's an ugly hack
+ if( $parsing ) { $text = $this->replaceVariables( $text ); }
return $text;