# Onebox encodes single quotes in URL breaking the link

**URL:** <https://meta.discourse.org/t/onebox-encodes-single-quotes-in-url-breaking-the-link/115947>\
**Category:** Bug\
**Created:** [25.Апрель.2019 11:04:43 UTC](https://meta.discourse.org/t/onebox-encodes-single-quotes-in-url-breaking-the-link/115947 "2019-04-25T11:04:43Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![lionel-rowe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lionel-rowe/32/134288_2.png) [@lionel-rowe](https://meta.discourse.org/u/lionel-rowe)\
**Post date:** [26.Апрель.2019 08:24:53 UTC](https://meta.discourse.org/t/onebox-encodes-single-quotes-in-url-breaking-the-link/115947/6 "2019-04-26T08:24:53Z")

</div>

FWIW, percent encoding:

[https://doomwiki.org/wiki/Musical\_inspirations\_behind\_Doom's\_music](https://doomwiki.org/wiki/Musical_inspirations_behind_Doom%27s_music)

`https://doomwiki.org/wiki/Musical_inspirations_behind_Doom%27s_music`

Works fine (even though `'` isn’t percent encoded per the spec). I’m not aware of a situation where HTML entities should be used anywhere in a URL, even in query params.

---

_[View the full topic](https://meta.discourse.org/t/onebox-encodes-single-quotes-in-url-breaking-the-link/115947)._
