X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=blobdiff_plain;f=includes%2Fparser%2FBlockLevelPass.php;h=7f7891268fc7527940e7e9dc6df9f72040fae5ca;hb=0c2687f44eb0e8c7f480b7303f89056682ba0bfb;hp=fab9ab7fb1828afb8e1cdfc746115bc7898d70bf;hpb=5fa4cdf860c79b32ab6ef034c6d9420c2727f695;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/BlockLevelPass.php b/includes/parser/BlockLevelPass.php index fab9ab7fb1..7f7891268f 100644 --- a/includes/parser/BlockLevelPass.php +++ b/includes/parser/BlockLevelPass.php @@ -26,7 +26,7 @@ class BlockLevelPass { private $DTopen = false; private $inPre = false; private $lastSection = ''; - private $linestart; + private $lineStart; private $text; # State constants for the definition list colon extraction @@ -329,6 +329,14 @@ class BlockLevelPass { $this->lastSection = 'pre'; } $t = substr( $t, 1 ); + } elseif ( preg_match( '/^(?:]*>.*?<\\/style>\s*|]*>\s*)+$/iS', $t ) ) { + # T186965: