Module:MOS tunings: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 175: | Line 175: | ||
local et_as_string = et.as_string(mos.mos_to_et(input_mos, step_ratios[i])) | local et_as_string = et.as_string(mos.mos_to_et(input_mos, step_ratios[i])) | ||
local header_text = string.format("%s<br>[[%s]]", step_ratio_as_text, et_as_string) | local header_text = string.format("%s<br />[[%s]]", step_ratio_as_text, et_as_string) | ||
result = result .. string.format("! colspan=\"2\" | %s\n", header_text) | result = result .. string.format("! colspan=\"2\" | %s\n", header_text) | ||
end | end | ||
| Line 181: | Line 181: | ||
-- Headers for JI ratios; this spans two rows | -- Headers for JI ratios; this spans two rows | ||
if #ji_ratios ~= 0 then | if #ji_ratios ~= 0 then | ||
result = result .. "! rowspan=\"2\" class=\"unsortable\" | Approx.<br>Ratios\n" | result = result .. "! rowspan=\"2\" class=\"unsortable\" | Approx.<br />Ratios\n" | ||
end | end | ||
result = result .. "|-\n" | result = result .. "|-\n" | ||