Module:Color contrast: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
if there are nowiki strip markers in the color string, unstrip them
(Sigh. I should read the code sometimes, however ugly it may be.)
(if there are nowiki strip markers in the color string, unstrip them)
Line 65:
-- whitespace
c = c:match( '^%s*(.-)[%s;]*$' )
 
-- unstrip nowiki strip markers
c = mw.text.unstripNoWiki(c)
 
-- lowercase
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu