camelCasing becomes camel-casing
oDinZu opened this issue · comments
I am unsure if this is a bug or a feature or both, dependent upon ones relative spacetime needs.
The slugify option turns camelCasing into camel-casing lowercase with the hyphen for friendly URL's.
It took the title of a webpage called WebPage and split the title of the post into web-page and created unfriendly post search engine optimization.
This is due to the default options of the underlying library being used.
If you add the lowercase and decamilize options as false in the plugins slugifyOptions
property it should produce the slug as you want it.