Module:Color contrast: Difference between revisions
Content added Content deleted
(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: | 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 |