Module:HiddenUnicode

Uit Wikivoyage

Documentatie voor deze module kan aangemaakt worden op de volgende pagina: Module:HiddenUnicode/doc

local i = {}
 
function i.HiddenUnicode(frame)
    local txt = frame.args[1] or '';
    local catUnicodeIssue = '';
    -- Note the quote ("") below is not empty and actually contains a hidden unicode character.
    if mw.ustring.match(txt,"‎") ~= nil then
        catUnicodeIssue = '[[' .. 'Categorie:Wikivoyage:Item met verborgen unicode-karakter]]'
    end
    return catUnicodeIssue;
end
 
return i;