45,322
edits
No edit summary |
No edit summary |
||
Line 181: | Line 181: | ||
local text | local text | ||
if code == "?" then | if code == "?" then | ||
text = '<abbr class="noun-class" title="noun class missing">?</abbr>' | text = '<abbr class="noun-class" style="font-style: italic;" title="noun class missing">?</abbr>' | ||
else | else | ||
text = '<abbr class="noun-class" title="noun class ' .. code .. '">' .. code .. "</abbr>" | text = '<abbr class="noun-class" style="font-style: italic;" title="noun class ' .. code .. '">' .. code .. "</abbr>" | ||
if lang and pos_for_cat then | if lang and pos_for_cat then | ||
table.insert(categories, lang:getCanonicalName() .. " class " .. code .. " POS") | table.insert(categories, lang:getCanonicalName() .. " class " .. code .. " POS") | ||
Line 287: | Line 287: | ||
if is_nounclass then | if is_nounclass then | ||
-- Add the processed codes together with slashes | -- Add the processed codes together with slashes | ||
return '<span class="gender">class ' .. table.concat(formatted_specs, "/") .. "</span>", categories | return '<span class="gender" style="font-style: italic;">class ' .. table.concat(formatted_specs, "/") .. "</span>", categories | ||
else | else | ||
-- Add the processed codes together with " or " | -- Add the processed codes together with " or " | ||
return '<span class="gender">' .. table.concat(formatted_specs, " or ") .. "</span>", categories | return '<span class="gender" style="font-style: italic;">' .. table.concat(formatted_specs, " or ") .. "</span>", categories | ||
end | end | ||
end | end | ||
return export | return export |