# In onebox, \`&\` become \`&amp;\`

**URL:** <https://meta.discourse.org/t/in-onebox-become-amp/59153>\
**Category:** Support\
**Created:** [2017 年 3 月 15 日午後 1:12 UTC](https://meta.discourse.org/t/in-onebox-become-amp/59153 "2017-03-15T13:12:25Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)\
**Post date:** [2017 年 3 月 15 日午後 6:10 UTC](https://meta.discourse.org/t/in-onebox-become-amp/59153/9 "2017-03-15T18:10:16Z")

</div>

Maybe you should URL encode the ampersands in a URL context?

> **[Percent-encoding](https://en.wikipedia.org/wiki/Percent-encoding)**
>
> Percent-encoding, also known as URL encoding, is a method to encode arbitrary data in a uniform resource identifier (URI) using only the US-ASCII characters legal within a URI. Percent-encoding is used to ensure special characters do not interfere with the URI's structure and interpretation. Special characters are replaced with a percent sign (%) followed by two hexadecimal digits representing the character's byte value. For example, a space is commonly encoded as %20:
> Although it is known as UR...

`&` &nbsp; ➡ &nbsp; `%26`

---

_[View the full topic](https://meta.discourse.org/t/in-onebox-become-amp/59153)._
