X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fparser%2FPreprocessor_DOM.php;h=5da7cd7441c62e4d74b0f9a47cb1deaebb38deac;hp=a28c0aa439d303162bb2c9be23044cd7b6b17aa7;hb=ce079cf6ad79ca8d3360817f809b219d166f9153;hpb=bb333d91a4c29e025303d44c705414840b68249c diff --git a/includes/parser/Preprocessor_DOM.php b/includes/parser/Preprocessor_DOM.php index a28c0aa439..5da7cd7441 100644 --- a/includes/parser/Preprocessor_DOM.php +++ b/includes/parser/Preprocessor_DOM.php @@ -539,7 +539,7 @@ class Preprocessor_DOM extends Preprocessor { } elseif ( $found == 'line-end' ) { $piece = $stack->top; // A heading must be open, otherwise \n wouldn't have been in the search list - assert( '$piece->open == "\n"' ); + assert( $piece->open === "\n" ); $part = $piece->getCurrentPart(); // Search back through the input to see if it has a proper close. // Do this using the reversed string since the other solutions