Module:HTMLDecode

From wikiNonStop
Revision as of 10:05, 24 September 2024 by Majestix (talk | contribs) (1 revision imported: initial setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Module documentation

Usage

Module:HTMLDecode can be used to remove HTML encoding from any text.

{{#invoke:HTMLDecode | HTMLDecode | text=***text to remove HTML encoding from*** }}


local i = {};

function i.HTMLDecode(frame)
    return mw.text.decode(frame.args["text"]);
end

return i;