dronefly-garden / dronefly

Red Discord Bot V3 cogs for naturalists.
Other
16 stars 3 forks source link

taxon: Use strikethrough when displaying invalid names #163

Closed synrg closed 2 years ago

synrg commented 2 years ago

Sometimes a search matches an invalid name (scientific or otherwise; e.g. Lymantria dispar's old common name, and some others that are now considered names that should no longer be used are marked invalid). When that happens, to make it clear that the name is invalid, use strikethrough style.

This isn't just a straightforward application of style, because first we need to determine if the matching term is invalid:

synrg commented 2 years ago

Implemented in 3908f37a2908aa0044aa2b00eaee0096b3306f87