Module:Unicode chart/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 36:
end
},
-- Unicode block: Variation Selectors Supplement
-- adding line breaks
{first = 0xFE00, last = 0xFE0F,
func = function(codepoint, abbr)
return abbr:gsub("VS", "VS<br>")
end
},
-- Unicode block: Variation Selectors Supplement
{first = 0xE0100, last = 0xE01EF,
func = function(codepoint, abbr)
Line 154 ⟶ 160:
cell:addClass(category)
if category == "reserved" or category == "noncharacter" then
or category == "noncharacter" then
emptyCell(category)
elseif (args['abbr_sub'] and args['abbr_sub'][codepoint.int]) then
Line 161 ⟶ 166:
elseif abbr then
abbrCell(abbr)
elseif category == "control" or category == "format" then
or category == "format" then
--or category == "space-separator" then
cell:addClass("red")
abbrCell(abbrFromString(name))