Slugify
Slugify copied to clipboard
Trailing punctutaion
The dot . is an allowed character.
But many slug implementations do remove a trailing punctuation.
The is currently no option or hook to add this feature in user code.
Only TrimWhitespace exists
The options could be extended and/or over a virtual method to be able to use
SlugHelperForNonAsciiLanguages as the base class
Workaround:
slug.GenerateSlug("The Name & co.").TrimEnd('.')
Noted!