Module:TableGenerator: Difference between revisionsGive feedback
Jump to navigation
Jump to search
m require space before 0 |
m correction to prev |
||
| Line 40: | Line 40: | ||
-- If the value contains a " 0 " then it will be colored slightly darker | -- If the value contains a " 0 " then it will be colored slightly darker | ||
local class = '' | local class = '' | ||
if value:find(" 0[^%.]") then | if value:find(" %0[^%.]") then | ||
class = ' class="darker"' | class = ' class="darker"' | ||
end | end | ||