Module:HTMLDecode

From Zoophilia Wiki
Revision as of 07:48, 22 September 2024 by SockyPaws (talk | contribs) (Create module)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Usage

The HTMLDecode module can be used to remove HTML encoding from any text.

Example

{{#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;