X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ftidy%2FRemexCompatMunger.php;h=a37f4f76f06b66edc9497d2614c5f53b737d8dfe;hb=3d3198f4b0ab4d070e65e3c2c8706b73f2dbddbb;hp=0cc99058238a78c00efd89f9cbfe1c550d8d89cd;hpb=e6818e6c649a82f8b54518c671cd32b54cf92968;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/tidy/RemexCompatMunger.php b/includes/tidy/RemexCompatMunger.php index 0cc9905823..a37f4f76f0 100644 --- a/includes/tidy/RemexCompatMunger.php +++ b/includes/tidy/RemexCompatMunger.php @@ -482,9 +482,8 @@ class RemexCompatMunger implements TreeHandler { } public function comment( $preposition, $refElement, $text, $sourceStart, $sourceLength ) { - list( $parent, $refNode ) = $this->getParentForInsert( $preposition, $refElement ); - $this->serializer->comment( $preposition, $refNode, $text, - $sourceStart, $sourceLength ); + list( , $refNode ) = $this->getParentForInsert( $preposition, $refElement ); + $this->serializer->comment( $preposition, $refNode, $text, $sourceStart, $sourceLength ); } public function error( $text, $pos ) {