X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2FTemplatesOnThisPageFormatter.php;h=494c7bfc86cbdedeeaac809e2fa5a758b4c8ad19;hb=8de958444f1d36ecb95d3a53d96cc1404e95468e;hp=c0ae374a05fbcdc1d771f501d3d82dc5045ad621;hpb=1827c891f549e3163d9e87390c6c6e939e8cf36b;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 .= '';