Module:Color contrast: Difference between revisions

replace html entity with # symbol - tested in /sandbox1 so as not to disturb /sandbox
imported>Rob Kam
m (1 revision imported: Template:Reflist)
enwiki:Mediawiki>RexxS
(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;]*$' )