Onebox encodes single quotes in URL breaking the link

Entities are fine in the HTML. But something’s going wrong because it’s double encoding the quote.

<a href="https://doomwiki.org/wiki/Musical_inspirations_behind_Doom&amp;#39;s_music" target="_blank" rel="nofollow noopener">Musical inspirations behind Doom's music</a>

From the JSON.