Template Part renaming modal doesn't not decode entities #52419
Labels
[Block] Template Part
Affects the Template Parts Block
[Feature] Pattern Directory
The Pattern Directory, a place to find patterns
[Type] Bug
An existing feature does not function as intended
Create a custom Template Part containing some HTML entity such as
David's Template Part
(note the apostophe).Now go to the TP listing page and click
Rename
. See that the title shows the encoded title:David’s Custom TP
.Needs
![Screen Shot 2023-07-07 at 12 39 00](https://private-user-images.githubusercontent.com/444434/251730196-8004b269-ab42-48d3-a3b1-6c956e9ed234.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MzQyMjUsIm5iZiI6MTczOTQzMzkyNSwicGF0aCI6Ii80NDQ0MzQvMjUxNzMwMTk2LTgwMDRiMjY5LWFiNDItNDhkMy1hM2IxLTZjOTU2ZTllZDIzNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QwODA1MjVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jZjZjY2FhY2FjNWVmZjBmMWVlYzAwMzc1YTQyZTZhMjU0ZjQ4YmEwYmQ5N2ZiYjVjMWE4MzU1YTFjNmQwZjQzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.lekQrD6KyjfZzNBUn_0b29nAL67Vzlbg1lWw1spykIU)
decodeEntities
.This also happens on the listing page:
The text was updated successfully, but these errors were encountered: