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
Protect language converter markup in the preprocessor.
[lhc/web/wiklou.git]
/
includes
/
parser
/
Preprocessor.php
diff --git
a/includes/parser/Preprocessor.php
b/includes/parser/Preprocessor.php
index
cc98abd
..
426b550
100644
(file)
--- a/
includes/parser/Preprocessor.php
+++ b/
includes/parser/Preprocessor.php
@@
-48,7
+48,13
@@
abstract class Preprocessor {
'names' => [ 2 => null ],
'min' => 2,
'max' => 2,
- ]
+ ],
+ '-{' => [
+ 'end' => '}-',
+ 'names' => [ 1 => null ],
+ 'min' => 1,
+ 'max' => 1,
+ ],
];
/**