Closed micabot closed 5 years ago
Thank you for the report. Will check it when I will have time at home.
Turns out I was trimming only -
at the beginning and the end of the string but IsSlug
is more strict (in a good way). All your strings got _
at the end after slug.Make
call.
Fixed now. Thank you for reporting :confetti_ball:
Thanks for the quick fix!
Hi there! Thanks for this awesome lib! I'm not sure if this is a valid use-case or not, but I've found a set of custom substitutions that seem to break
Make()
. In the code below,IsSlug()
returnsfalse
for every item inslugs
.I've already found a way to work around this in my code, using
SubstituteRune()
first.