X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fparser%2FStripState.php;h=4ed176ce28208a23e3beaf1e4dd4cef3ed267441;hp=c168aa69fa2217c4f643b7680de663f3e1094972;hb=c8e482371407477ecd4f0a1b5778e565d3963a93;hpb=4b73a8b6fbb6da651af850a7d667e6e8d59e6fce diff --git a/includes/parser/StripState.php b/includes/parser/StripState.php index c168aa69fa..4ed176ce28 100644 --- a/includes/parser/StripState.php +++ b/includes/parser/StripState.php @@ -50,7 +50,7 @@ class StripState { 'nowiki' => [], 'general' => [] ]; - $this->regex = '/' . Parser::MARKER_PREFIX . "([^\x7f]+)" . Parser::MARKER_SUFFIX . '/'; + $this->regex = '/' . Parser::MARKER_PREFIX . "([^\x7f<>&'\"]+)" . Parser::MARKER_SUFFIX . '/'; $this->circularRefGuard = []; }