# Using a colon in an asset title truncates the title in the page builder token list

**URL:** <https://forum.mautic.org/t/using-a-colon-in-an-asset-title-truncates-the-title-in-the-page-builder-token-list/31740>\
**Category:** Product Support\
**Created:** [April 18, 2024, 9:12pm UTC](https://forum.mautic.org/t/using-a-colon-in-an-asset-title-truncates-the-title-in-the-page-builder-token-list/31740 "2024-04-18T21:12:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakobpersson](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jakobpersson](https://forum.mautic.org/u/jakobpersson)\
**Post date:** [April 18, 2024, 9:12pm UTC](https://forum.mautic.org/t/using-a-colon-in-an-asset-title-truncates-the-title-in-the-page-builder-token-list/31740/1 "2024-04-18T21:12:19Z")

</div>

**Your software**  
My Mautic version is: 5.0.4  
My PHP version is: 8.1.27  
My Database type and version is: 10.6.16-MariaDB-0ubuntu0.22.04.1

**Your problem**  
My problem is:

Using a colon in the title of an asset makes the token only show the string before that colon, truncating the rest.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/2c552adafc846340594d3d86b4db6fd1e108782d.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/567a8ec224cbadc2b7540c6ebbb17398311c387f.png)

This is a bug. Titles should allow colons without breaking the editor.

I’ve been prefixing all my components as a workaround, so I can tell them apart since the tokens aren’t searchable, sortable nor do they indicate what kind of component they represent.

Longer term, the token list in the editor should be searchable and indicate what kind of token that is listed (using color, icon or shape).

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [April 18, 2024, 9:40pm UTC](https://forum.mautic.org/t/using-a-colon-in-an-asset-title-truncates-the-title-in-the-page-builder-token-list/31740/2 "2024-04-18T21:40:49Z")

</div>

Confirmed with 5.0.4 - could you please add it to [Issues · mautic/mautic · GitHub](https://github.com/mautic/mautic/issues) ?  
Also please mention, that the token inserted into the mail seems not to be correct.

It only works when starting with “{” in the editor (without using the menu). Preview name in popup list is also truncated, but the token itself seems to be correct that way.

---

<div class="post-metadata">

**Author:** ![jakobpersson](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jakobpersson](https://forum.mautic.org/u/jakobpersson)\
**Post date:** [April 20, 2024, 12:41pm UTC](https://forum.mautic.org/t/using-a-colon-in-an-asset-title-truncates-the-title-in-the-page-builder-token-list/31740/3 "2024-04-20T12:41:07Z")

</div>

Thanks. Done!
