X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fparser%2FParserTestRunner.php;h=f44b0d5e26bcc4e2df04fad85e50797ba9c1311f;hb=93be2c205a66701416067f8fc26fe989ffab296e;hp=f100411f253c06d66a2e7cb8b019599bfdfa1717;hpb=c6b1dede111e00d8993c4177c9678d17d035e5ed;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/ParserTestRunner.php b/tests/parser/ParserTestRunner.php index f100411f25..f44b0d5e26 100644 --- a/tests/parser/ParserTestRunner.php +++ b/tests/parser/ParserTestRunner.php @@ -747,6 +747,10 @@ class ParserTestRunner { $user = $context->getUser(); $options = ParserOptions::newFromContext( $context ); + if ( !isset( $opts['wrap'] ) ) { + $options->setWrapOutputClass( false ); + } + if ( isset( $opts['tidy'] ) ) { if ( !$this->tidySupport->isEnabled() ) { $this->recorder->skipped( $test, 'tidy extension is not installed' );