# WP Blocks with apostraphies in the title don't register properly

**URL:** <https://forum.pinegrow.com/t/wp-blocks-with-apostraphies-in-the-title-dont-register-properly/7573>\
**Category:** General\
**Tags:** bug, wordpress\
**Created:** [January 4, 2023, 6:53pm UTC](https://forum.pinegrow.com/t/wp-blocks-with-apostraphies-in-the-title-dont-register-properly/7573 "2023-01-04T18:53:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamslowe](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/adamslowe/32/4590_2.png) [@adamslowe](https://forum.pinegrow.com/u/adamslowe)\
**Post date:** [January 4, 2023, 6:53pm UTC](https://forum.pinegrow.com/t/wp-blocks-with-apostraphies-in-the-title-dont-register-properly/7573/1 "2023-01-04T18:53:45Z")

</div>

It looks like blocks with apostrophes in the title don’t get escaped properly in the registration JavaScript file.

![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/0/054d5bc2a63ba64e781a64b222ad4c1ee8dea39b.png)

Escaping it in the title field works as a temporary workaround  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/d/d6c946038fdf25601c9ec5e8e7f03045c4a09fa4.png)  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/0/09ff02166b435c8a8570c83d7ac412b552cb6e60.png)

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [January 6, 2023, 5:13pm UTC](https://forum.pinegrow.com/t/wp-blocks-with-apostraphies-in-the-title-dont-register-properly/7573/2 "2023-01-06T17:13:58Z")

</div>

Thanks @adamslowe, fixed, will be out soon.
