Module:HTMLDecode: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
Create module
 
(No difference)

Latest revision as of 07:48, 22 September 2024

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;