X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FStripState.php;h=4ed176ce28208a23e3beaf1e4dd4cef3ed267441;hb=2ec7dbb4892cef0a75ac05304b6ac7779a3835c4;hp=c168aa69fa2217c4f643b7680de663f3e1094972;hpb=2a1fcd27c19913394c179cbe8be1a9e981d7f81b;p=lhc%2Fweb%2Fwiklou.git 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 = []; }