Module:Aligned table: Difference between revisions
strip trailing whitespace from cells, leading whitespace is needed for list markup, but should be safe to remove trailing space
m (Changed protection level of Module:Aligned table: Highly visible template ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
(strip trailing whitespace from cells, leading whitespace is needed for list markup, but should be safe to remove trailing space) |
||
Line 147: | Line 147: | ||
end | end | ||
end | end | ||
cell:wikitext(args[cols*(j - 1) + i] or '') | cell:wikitext(mw.ustring.gsub(args[cols*(j - 1) + i] or '','%s*$', '')) | ||
end | end | ||
end | end |