diff --git a/components/match2/wikis/dota2/match_summary.lua b/components/match2/wikis/dota2/match_summary.lua index 17237cd60eb..e07fdf59ca3 100644 --- a/components/match2/wikis/dota2/match_summary.lua +++ b/components/match2/wikis/dota2/match_summary.lua @@ -97,7 +97,7 @@ function CustomMatchSummary._createGame(game, gameIndex) if Logic.isNotEmpty(game.comment) then comment = { MatchSummary.Break():create(), - mw.html.create('div'):wikitext(game.comment):css('margin', 'auto') + HtmlWidgets.Div{css = {margin = 'auto'}, children = game.comment}, } end