Module:Infobox chord: Difference between revisions

Bcmills (talk | contribs)
m Make “intervallic odd limit” label consistent between high- and low-limit chords
ArrowHead294 (talk | contribs)
mNo edit summary
Line 21: Line 21:
-- removing manual line breaks
-- removing manual line breaks
local matches
local matches
name, matches = name:gsub("<br/?>", "")
name, matches = name:gsub("<br%s?/?>", "")
if matches > 0 then
if matches > 0 then
cats = cats .. "[[Category:Todo:remove manual line breaks]]"
cats = cats .. "[[Category:Todo:remove manual line breaks]]"
Line 28: Line 28:
name = name:gsub(",%s+", ",")
name = name:gsub(",%s+", ",")
-- placing line breaks after commas
-- placing line breaks after commas
name = name:gsub(",", ",<br/>")
name = name:gsub(",", ",<br />")
end
end
table.insert(infobox_data, {
table.insert(infobox_data, {