We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 192c3eb commit e24237bCopy full SHA for e24237b
formats/datatables/DataTables.php
@@ -971,7 +971,7 @@ public function getCellContent(
971
if ( $template ) {
972
// @fixme use named parameter ?
973
$titleTemplate = Title::makeTitle( NS_TEMPLATE,
974
- Title::capitalize( $template, NS_TEMPLATE ) );
+ Title::capitalize( trim( $template ), NS_TEMPLATE ) );
975
$value_ = $this->expandTemplate( $titleTemplate, [ 1 => $value ] );
976
$value = Parser::stripOuterParagraph(
977
$this->parser->recursiveTagParseFully( $value_ )
0 commit comments