# Can't edit text contents that has ampersand

**URL:** https://meta.discourse.org/t/cant-edit-text-contents-that-has-ampersand/122635
**Category:** Bug
**Created:** [7월 11, 2019, 8:47오전 UTC](https://meta.discourse.org/t/cant-edit-text-contents-that-has-ampersand/122635 "2019-07-11T08:47:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Yatima](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yatima/32/142889_2.png) [@Yatima](https://meta.discourse.org/u/Yatima)
#### Post date: [7월 11, 2019, 8:47오전 UTC](https://meta.discourse.org/t/cant-edit-text-contents-that-has-ampersand/122635/1 "2019-07-11T08:47:58Z")

</div>

If you access `example.com/admin/customize/site_texts/js.emoji_picker.travel_&_places`, it shows as below;

 ![50%20-%20Edited](https://global.discourse-cdn.com/meta/original/3X/9/3/93e7332694f0e2760c5fab08a84169f3cb0c8f0e.png)

I think `&` is bad, but same mulfunction occurred with `travel_&amp;_places`.

Discourse v2.4.0.beta1 +176

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [7월 11, 2019, 9:01오전 UTC](https://meta.discourse.org/t/cant-edit-text-contents-that-has-ampersand/122635/2 "2019-07-11T09:01:20Z")

</div>

@techAPJ can you add that to your list? Looks like we’re not properly supporting the “`&`” (not sure if other uncommon characters are allowed in a yaml key).

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [7월 15, 2019, 11:36오전 UTC](https://meta.discourse.org/t/cant-edit-text-contents-that-has-ampersand/122635/3 "2019-07-15T11:36:12Z")

</div>

Fixed via:

[https://github.com/discourse/discourse/commit/fffca4234c8dc5c7521d56bf1921951c6e2b9fcc](https://github.com/discourse/discourse/commit/fffca4234c8dc5c7521d56bf1921951c6e2b9fcc)

Thanks for reporting this issue @Yatima 👍

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [7월 15, 2019, 12:00오후 UTC](https://meta.discourse.org/t/cant-edit-text-contents-that-has-ampersand/122635/4 "2019-07-15T12:00:14Z")

</div>


