Module:Aligned table: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
colstyle[ i ] = 'text-align:' .. args['align' .. tostring(i)] .. ';' .. colstyle[ i ] | colstyle[ i ] = 'text-align:' .. args['align' .. tostring(i)] .. ';' .. colstyle[ i ] | ||
end | end | ||
if args['nowrap' .. tostring(i)] then | if args['nowrap' .. tostring(i)] and args['nowrap' .. tostring(i)] ~= '' then | ||
colstyle[ i ] = 'white-space:nowrap;' .. colstyle[ i ] | colstyle[ i ] = 'white-space:nowrap;' .. colstyle[ i ] | ||
end | end |