Module:Color contrast: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(typo)
(replace html entity with # symbol - tested in /sandbox1 so as not to disturb /sandbox)
Line 63: Line 63:
return ''
return ''
end
end

-- html '#' entity
c = c:gsub("#", "#")

-- whitespace
-- whitespace
c = c:match( '^%s*(.-)[%s;]*$' )
c = c:match( '^%s*(.-)[%s;]*$' )