-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
Adding ampersands '&' to the label field of a link (page & custom) in the Navigation block converts it to u0026, which displays on the frontend and backend once refreshed.
Step-by-step reproduction instructions
- Go to the latest 6.5-beta3 (or nightly) on your test site, or in playground: https://playground.wordpress.net/?php=8.0&wp=beta&storage=none
- Edit site, and add a link to the navigation block.
- Include an ampersand in the label of a link in the block, an example being 'News & Events'
- View the frontend of the site and see it converted to 'u0026'
Screenshots, screen recording, code snippet
Environment info
- WordPress 6.5 beta3 & Nightly
- Tested and seen with both Gutenberg not installed, and installed and activated.
- Tested in both latest Chrome & Firefox
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Metadata
Metadata
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended