From: jdlrobson Date: Thu, 28 Mar 2019 20:14:49 +0000 (-0700) Subject: Subtitle is wrapped in a DIV X-Git-Tag: 1.34.0-rc.0~2270^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=0fa6918223c1ba3c4851c3e06ed09953a564a17f Subtitle is wrapped in a DIV Skins should be able to style this as they wish. This wraps the link and text in an element so it can be styled as a component of the page. Change-Id: I34bd361e0384f6b127ca0ac1e06d3298a2a2c457 --- diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index fbf43e0f3d..cc11233c05 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -78,7 +78,7 @@ class HistoryAction extends FormlessAction { ->rawParams( $this->getLanguage()->pipeList( $links ) ) ->escaped(); } - return $subtitle; + return Html::rawElement( 'div', [ 'class' => 'mw-history-subtitle' ], $subtitle ); } /**