SlugNormalizer not working since update to 2.0 #694
-
Hey I have updated the code to new release, but I'm just not able to use the slug_normalizer correctly...
I even tried to use 'slug_normalizer' => ['instance' => new SlugNormalizer()], Any idea what I could do? |
Beta Was this translation helpful? Give feedback.
Answered by
colinodell
Jul 31, 2021
Replies: 1 comment 1 reply
-
In your case, the configuration should look something like this:
Notice how Hope that helps! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
colinodell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
slug_normalizer
is now a top-level configuration item. See https://commonmark.thephpleague.com/2.0/customization/slug-normalizer/ for full details on how to configure it.In your case, the configuration should look something like this:
Notice how
slug_normalizer
is not part of theheading_permalink
section any more.Hope …