WP 5.5 Block Directory special characters are displayed as HTML entity codes during block search #24526
Labels
[Feature] Block Directory
Related to the Block Directory, a repository of block plugins
REST API Interaction
Related to REST API
Describe the bug
When a plugin in the block directory which has special characters in it's name is rendered in the block directory (sidebar), the special characters are displayed as plain-text entity codes instead of the actual character.
For example, an ampersand
&
will be displayed as&
To reproduce
Steps to reproduce the behavior:
On WP 5.5
Expected behavior
Special characters should not be displayed as text. For example, I expect to see
&
in favor of&
Screenshots
Editor version (please complete the following information):
Desktop (please complete the following information):
Smartphone (please complete the following information):
N/A
Additional context
I found this issue with my own block plugin that I added to the directory yesterday. I've since changed the title of my plugin to exclude the special characters. Currently my reproduction steps are still working with the old title (that contained an endash and an ampersand) but this may change whenever the cached title is nuked.
Without this plugin I'm not entirely sure how to recreate this but I'm hoping the problem can be recreated through a mock of some kind.
The text was updated successfully, but these errors were encountered: