diff --git a/includes/Partials/BodyContent.php b/includes/Partials/BodyContent.php index 5d37b286..35d61db4 100644 --- a/includes/Partials/BodyContent.php +++ b/includes/Partials/BodyContent.php @@ -232,7 +232,7 @@ final class BodyContent extends Partial { // Only target page headings, but not other heading tags // TODO: Drop this when T13555 is deployed on LTS - if ( !$parentClasses->contains( 'mw-parser-output') ) { + if ( !$parentClasses->contains( 'mw-parser-output' ) ) { continue; }