Module:Template invocation: Difference between revisions

escape the equals sign as well
(create module for making template invocations from a template name and a table of arguments, based from User:Anomie's code in Module:Unsubst)
 
(escape the equals sign as well)
Line 17:
openb = '{{',
closeb = '}}',
pipe = '|',
equals = '='
}
if format == 'nowiki' then
Line 41 ⟶ 42:
ret[#ret + 1] = seps.pipe
ret[#ret + 1] = k
ret[#ret + 1] = '='seps.equals
ret[#ret + 1] = v
end