Module:StripColor: Difference between revisions

36 bytes added ,  00:19, 30 July 2019
m
no edit summary
(jank)
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
local b = string.gsub(b,"(~J211)", "")
local b = string.gsub(b,"(~J211)", "")
local b = string.gsub(b,"(~)","</br>")
local b = string.gsub(b,"(~)","</br>")
local b = string.gsub(b,"(')","''")
local a = string.gsub(b,"(&amp;)(%w)([^&\n]*)", function(_,color,text)
local a = string.gsub(b,"(&amp;)(%w)([^&\n]*)", function(_,color,text)
         return text
         return text