Due to spambots account creation is turned off, if you'd like an accout please email me at techinfodepot1@gmail.com
You do not need an accout to report a problem with the wiki.

-

Module:HTMLDecode

From TechInfoDepot
Jump to navigationJump to search
Documentation icon Module documentation[view] [edit] [history] [purge]

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;