Difference between revisions of "Module:HTMLDecode"

From blackwiki
Jump to navigation Jump to search
blackwiki>WOSlinker
(Created page with 'local i = {}; function i.HTMLDecode(frame) return mw.text.decode(frame.args["text"]); end return i;')
 
blackwiki>WOSlinker
m (Protected "Module:HTMLDecode" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(No difference)

Revision as of 11:19, 19 April 2020

Only[1]== Usage == Module:HTMLDecode can be used to remove HTML encoding from any text.

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



  1. Cite error: Invalid <ref> tag; no text was provided for refs named undefined
local i = {};

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

return i;