X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fparser%2FPreprocessor_DOM.php;h=3c750ad7dc3717b773ce64c4d47417f96a7618dd;hp=753930735d68ff898bd1428eff83f4c3f2804ac7;hb=12601ff7d2796752404bfb331fccc41083d31f9f;hpb=16a9c7076f5eb5279d6eb1384751a08a4e33f532 diff --git a/includes/parser/Preprocessor_DOM.php b/includes/parser/Preprocessor_DOM.php index 753930735d..3c750ad7dc 100644 --- a/includes/parser/Preprocessor_DOM.php +++ b/includes/parser/Preprocessor_DOM.php @@ -148,7 +148,6 @@ class Preprocessor_DOM extends Preprocessor { * @return PPNode_DOM */ public function preprocessToObj( $text, $flags = 0 ) { - $xml = $this->cacheGetTree( $text, $flags ); if ( $xml === false ) { $xml = $this->preprocessToXml( $text, $flags ); @@ -373,7 +372,6 @@ class Preprocessor_DOM extends Preprocessor { } // Handle comments if ( isset( $matches[2] ) && $matches[2] == '!--' ) { - // To avoid leaving blank lines, when a sequence of // space-separated comments is both preceded and followed by // a newline (ignoring spaces), then