I'm currently working on updating the rust crate base16_color_scheme from the old Base 16 spec to this one.
While implementing the slugify functionality I found that the instruction to lowercase the characters was missing.
This pr fixes it.
Also the line Drop all non-alphanumeric and non-dash characters is a bit ambiguously worded and
something like Drop all characters that are neither alphanumeric nor dashes might be better. \
Though that is only a minor nitpick. (I added it as separate commit for convenience.)
I'm currently working on updating the rust crate
base16_color_scheme
from the old Base 16 spec to this one. While implementing the slugify functionality I found that the instruction to lowercase the characters was missing. This pr fixes it.Also the line
Drop all non-alphanumeric and non-dash characters
is a bit ambiguously worded and something likeDrop all characters that are neither alphanumeric nor dashes
might be better. \ Though that is only a minor nitpick. (I added it as separate commit for convenience.)