X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FTemplatesOnThisPageFormatter.php;h=494c7bfc86cbdedeeaac809e2fa5a758b4c8ad19;hb=c8e482371407477ecd4f0a1b5778e565d3963a93;hp=c0ae374a05fbcdc1d771f501d3d82dc5045ad621;hpb=eb2f439768d34254964e798d9523211ba8ea2f5f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/TemplatesOnThisPageFormatter.php b/includes/TemplatesOnThisPageFormatter.php index c0ae374a05..494c7bfc86 100644 --- a/includes/TemplatesOnThisPageFormatter.php +++ b/includes/TemplatesOnThisPageFormatter.php @@ -93,11 +93,11 @@ class TemplatesOnThisPageFormatter { } if ( $more instanceof LinkTarget ) { - $outText .= Html::rawElement( 'li', $this->linkRenderer->makeLink( + $outText .= Html::rawElement( 'li', [], $this->linkRenderer->makeLink( $more, $this->context->msg( 'moredotdotdot' )->text() ) ); } elseif ( $more ) { // Documented as should already be escaped - $outText .= Html::rawElement( 'li', $more ); + $outText .= Html::rawElement( 'li', [], $more ); } $outText .= '';