dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Warn if stateful ParserOutput transforms are used
[lhc/web/wiklou.git]
/
includes
/
parser
/
Preprocessor_DOM.php
diff --git
a/includes/parser/Preprocessor_DOM.php
b/includes/parser/Preprocessor_DOM.php
index
3c750ad
..
2588962
100644
(file)
--- a/
includes/parser/Preprocessor_DOM.php
+++ b/
includes/parser/Preprocessor_DOM.php
@@
-625,7
+625,7
@@
class Preprocessor_DOM extends Preprocessor {
$curLen = strlen( $curChar );
$count = ( $curLen > 1 ) ?
# allow the final character to repeat
$curLen = strlen( $curChar );
$count = ( $curLen > 1 ) ?
# allow the final character to repeat
- strspn( $text, $curChar[$curLen
-1], $i+
1 ) + 1 :
+ strspn( $text, $curChar[$curLen
- 1], $i +
1 ) + 1 :
strspn( $text, $curChar, $i );
# we need to add to stack only if opening brace count is enough for one of the rules
strspn( $text, $curChar, $i );
# we need to add to stack only if opening brace count is enough for one of the rules