Module:Template test case: Difference between revisions
Allow custom headings to work in default format, same as in rows or columns format. See Template:Test case/testcases#Default format with custom headings and Template:Test case nowiki/testcases#Default format with custom headings.
m (copy edit the notice) |
(Allow custom headings to work in default format, same as in rows or columns format. See Template:Test case/testcases#Default format with custom headings and Template:Test case nowiki/testcases#Default format with custom headings.) |
||
Line 430: | Line 430: | ||
for i, obj in ipairs(self.templates) do | for i, obj in ipairs(self.templates) do | ||
ret[#ret + 1] = '<div style="clear: both;"></div>' | ret[#ret + 1] = '<div style="clear: both;"></div>' | ||
ret[#ret + 1] = obj: | ret[#ret + 1] = obj:makeHeading() | ||
ret[#ret + 1] = self:getTemplateOutput(obj) | ret[#ret + 1] = self:getTemplateOutput(obj) | ||
end | end |