diff --git a/components/widget/infobox/widget_infobox_title.lua b/components/widget/infobox/widget_infobox_title.lua index de0b97ba4aa..9e8d2c5ef97 100644 --- a/components/widget/infobox/widget_infobox_title.lua +++ b/components/widget/infobox/widget_infobox_title.lua @@ -27,10 +27,10 @@ local Title = Class.new( ---@return string? function Title:render() - return HtmlWidgets.Div{ + return HtmlWidgets.Div{children = HtmlWidgets.Div{ children = self.props.children, classes = {'infobox-header', 'wiki-backgroundcolor-light', 'infobox-header-2'} - } + }} end return Title