Decode HTML from API URLs on the edit screen for the REST block when a URL gets added and when posts are retrieved.
How It Was Tested
[x] Locally on parent theme
[x] Locally on child theme
[x] Child theme develop
How To Test
On the local main branch, create a REST API block and add a url with query parameters using & instead of &. The displayed posts should ignore any query parameters.
Switch to this branch and update the page with the REST API block without making any changes. The posts displayed in the editor and on the frontend should update to honor the URLs query parameters. The URL listed in the editor will still contain &
Test adding another URL to the REST API block that contains &. It should be replaced with &.
Related Issues
What Was Accomplished
How It Was Tested
How To Test
&
instead of&
. The displayed posts should ignore any query parameters.&
&
. It should be replaced with&
.