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
/
StripState.php
diff --git
a/includes/parser/StripState.php
b/includes/parser/StripState.php
index
c168aa6
..
4ed176c
100644
(file)
--- a/
includes/parser/StripState.php
+++ b/
includes/parser/StripState.php
@@
-50,7
+50,7
@@
class StripState {
'nowiki' => [],
'general' => []
];
'nowiki' => [],
'general' => []
];
- $this->regex = '/' . Parser::MARKER_PREFIX . "([^\x7f]+)" . Parser::MARKER_SUFFIX . '/';
+ $this->regex = '/' . Parser::MARKER_PREFIX . "([^\x7f
<>&'\"
]+)" . Parser::MARKER_SUFFIX . '/';
$this->circularRefGuard = [];
}
$this->circularRefGuard = [];
}