Jump to content

Module:Color contrast: Difference between revisions

if there are nowiki strip markers in the color string, unstrip them
m>Kephir
(Sigh. I should read the code sometimes, however ugly it may be.)
m>Mr. Stradivarius
(if there are nowiki strip markers in the color string, unstrip them)
Line 65: Line 65:
-- whitespace
-- whitespace
c = c:match( '^%s*(.-)[%s;]*$' )
c = c:match( '^%s*(.-)[%s;]*$' )
-- unstrip nowiki strip markers
c = mw.text.unstripNoWiki(c)


-- lowercase
-- lowercase
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.