Module:Module introspection: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 158: Line 158:
if usages and #usages > 0 then
if usages and #usages > 0 then
for _, usage in ipairs(usages) do
for _, usage in ipairs(usages) do
local func_str = table.concat(usage.functions, "\n")
local func_str = table.concat(usage.functions, "<br />")
if usage.entry then
if usage.entry then
func_str = usage.entry .. (func_str ~= "" and ("\n" .. func_str) or "")
func_str = usage.entry .. (func_str ~= "" and ("<br />" .. func_str) or "")
end
end
table.insert(dep_lines, "|-")
table.insert(dep_lines, "|-")