Module:Aligned table: Difference between revisions

    (will work on this later)
    (will work on this later)
    Line 114: Line 114:
    end
    end
    -- loop over the cells in the row
    -- loop over the cells in the row
    if showrow then
    for i=1,cols do
    for i=1,cols do
    local cell
    local cell
    Line 149: Line 148:
    end
    end
    cell:wikitext(mw.ustring.gsub(args[cols*(j - 1) + i] or '', '^(.-)%s*$', '%1') or '')
    cell:wikitext(mw.ustring.gsub(args[cols*(j - 1) + i] or '', '^(.-)%s*$', '%1') or '')
    end
    end
    end
    end
    end