Module:Aligned table: Difference between revisions

    (try new optional noblankrows feature)
    No edit summary
    Line 160: Line 160:
    end
    end
    end
    end
    cell:wikitext(mw.ustring.gsub(args[cols*(j - 1) + i] or '','%s*$', ''))
    cell:wikitext(mw.ustring.gsub(args[cols*(j - 1) + i] or '','^(.-)%s*$', '%1'))
    end
    end
    end
    end