X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=blobdiff_plain;f=includes%2Fparser%2FBlockLevelPass.php;h=7f7891268fc7527940e7e9dc6df9f72040fae5ca;hb=b3e575bb8fa8d48fab825c2fef2b55e67a6cad4c;hp=761d5be89ba7c299c49143aa84804eb7cd990241;hpb=015055b17b706a83d18ae58e944e52392a13b460;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/BlockLevelPass.php b/includes/parser/BlockLevelPass.php index 761d5be89b..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: