Module:HiddenUnicode

Une page de Wikipédia, l'encyclopédie libre.

 Documentation[créer] [purger]
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 = '[[' .. 'Catégorie:Listing avec un caractère unicode caché]]'
    end
    return catUnicodeIssue;
end
 
return i;