453
edits
(Fixing the comma removal and adding the Equipment/ prefix to the links) |
(There's an extra space in the output, testing removing the only space I was adding) |
||
Line 186:
temp_str = temp_str .. ',';
--Loop through the list and append link brackets and the value to the output
for w in temp_str:gmatch("(.-),") do output_str = output_str .. '[[Equipment/' .. w .. '|' .. w .. ']],
--Remove the extra comma and space at the end
output_str = output_str:sub(1, -3);
|