Module:HTMLDecode: Difference between revisions
Appearance
←Created page with 'local i = {}; function i.HTMLDecode(frame) return mw.text.decode(frame.args["text"]); end return i;' |
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
| Warning | This Lua module is used on approximately 867,000 pages, or roughly 10057% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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;