Jump to content

Module:HTMLDecode

Kubijyanye na Wikipedia
Revision as of 04:10, 20 Gicurasi 2022 by BevoLJ (ibiganiro byanjye | Umusanzu) (Creating Module:HTMLDecode)
(ubudasa) ← Ivugururwa rya kera | Ivugururwa riheruka (ubudasa) | Ivugururwa rishya → (ubudasa)

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;