Content deleted Content added
updated to tested sandbox version (doesn't italicize botanical connecting forms if not linked) |
remove attempt to de-italicize connecting terms in botanical names |
||
Line 41:
--=========================================================================
--Utility function to italicize the taxon name.
--Any connecting terms used in botanical names (e.g. 'subsp.', 'f.')
--should not be italicized. However, de-italicizing is a more complex issue
--than the initial version of code commented out here, which caused problems.
--=============================================================================
function p.italicize(taxonName, linked)
-- taxonName = string.gsub(taxonName, ' %a*%. ', '</i> %0 <i>', 1)
return '<i>' .. taxonName .. '</i>'
end
|