Jump to content

Module:Template test case: Difference between revisions

don't decode <, etc. as they might sometimes be needed, and we don't want to try and decode & recursively
(add TestCase:makeCollapsible)
(don't decode <, etc. as they might sometimes be needed, and we don't want to try and decode & recursively)
Line 373: Line 373:
invocation = invocation:gsub('>', '>')
invocation = invocation:gsub('>', '>')
invocation = invocation:gsub('"', '"')
invocation = invocation:gsub('"', '"')
-- Decode & only when it is used to escape <, > and "
invocation = invocation:gsub('<', '<')
invocation = invocation:gsub('>', '>')
invocation = invocation:gsub('"', '"')
obj.invocation = invocation
obj.invocation = invocation
return obj
return obj
Cookies help us deliver our services. By using our services, you agree to our use of cookies.