Module:Template test case: Difference between revisions

    (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