-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Closed
Copy link
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When using the Create Draft feature in the navigation block, if you add &, it results in a draft being created showing the HTML entities for ampersand instead of &.
This came up as part of feedback for the third round of testing for the FSE Outreach Program.
Step-by-step reproduction instructions
- Add the navigation block.
- Add a new menu item.
- Select adding a new link and begin typing the title of a page that doesn't exist. When you do so, include &.
- Select the option to create a page draft.
- See that the menu item doesn't show ampersand.
Expected behaviour
The & would show in the navigation block.
Actual behaviour
HTML entities were shown in the navigation block.
Screenshots or screen recording (optional)
ampersand.test.mov
WordPress information
- WordPress version: 5.7
- Gutenberg version: 10.2
- Are all plugins except Gutenberg deactivated? Yes
- Are you using a default theme (e.g. Twenty Twenty-One)? TT1 Blocks
Device information
- Device: Desktop
- Operating system: MacOS
- Browser: Chrome Version 88.0.4324.192
Metadata
Metadata
Assignees
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended