Content deleted Content added
No edit summary |
No edit summary |
||
Line 218:
local unicodeChar = '&#x'.. codepoint.hex .. ';'
unicodeChar = linkChar(unicodeChar, codepoint, args) or unicodeChar
if args['wrapper'] then▼
unicodeChar = expandTemplate(args['wrapper'], {unicodeChar})▼
elseif args['font'] then▼
cell:css("font-family", "'" .. args['font'] .. "'")▼
end▼
if args['suffix'] and args['suffix'][codepoint.int] then
unicodeChar = unicodeChar
.. '&#x' .. args['suffix'][codepoint.int] .. ';'
cell:addClass("modified")
▲ end
▲ if args['wrapper'] then
▲ unicodeChar = expandTemplate(args['wrapper'], {unicodeChar})
▲ elseif args['font'] then
unicodeChar = tostring(
mw.html.create("div")
:wikitext(unicodeChar)
)
end
cell:wikitext(unicodeChar)
|