Skip to content

[4.x] Fix slugify when using hyphens surrounded by spaces.#8923

Merged
jasonvarga merged 1 commit into4.xfrom
fix/slugify-method-with-hiphens
Nov 3, 2023
Merged

[4.x] Fix slugify when using hyphens surrounded by spaces.#8923
jasonvarga merged 1 commit into4.xfrom
fix/slugify-method-with-hiphens

Conversation

@duncanmcclean
Copy link
Copy Markdown
Member

This pull request fixes a small issue with the slugify function:

  • If you enter Block - Hero as a title
  • slugify would generate block_-_hero as the slug
  • With this fix, slugify will generate block_hero as the slug

Fixes #8749.

@duncanmcclean duncanmcclean changed the title Fix slugify when using hyphens surrounded by spaces. [4.x] Fix slugify when using hyphens surrounded by spaces. Nov 3, 2023
@jasonvarga jasonvarga merged commit 09ce7d4 into 4.x Nov 3, 2023
@jasonvarga jasonvarga deleted the fix/slugify-method-with-hiphens branch November 3, 2023 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create fieldset/collection/taxonomy/etc handle generation does not remove hyphens surrounded by spaces

2 participants