# Bug in onebox - link being rendered as a Gist when it isn't

**URL:** <https://meta.discourse.org/t/bug-in-onebox-link-being-rendered-as-a-gist-when-it-isnt/202463>\
**Category:** Product Support\
**Created:** [September 2, 2021, 2:30pm UTC](https://meta.discourse.org/t/bug-in-onebox-link-being-rendered-as-a-gist-when-it-isnt/202463 "2021-09-02T14:30:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [September 9, 2021, 3:20am UTC](https://meta.discourse.org/t/bug-in-onebox-link-being-rendered-as-a-gist-when-it-isnt/202463/5 "2021-09-09T03:20:25Z")

</div>

> [@techAPJ](#):
>
> We can add [medium.com](http://medium.com) to the list of domains to [ignore canonical tag](https://github.com/discourse/discourse/blob/1472e47aae5bfdfb6fd9abfe89beb186c751f514/lib/onebox/helpers.rb#L10)

Done via:

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

Example:

[https://medium.com/pragmatic-programmers/circuit-breakers-and-you-ab1281c88f99](https://medium.com/pragmatic-programmers/circuit-breakers-and-you-ab1281c88f99)

---

_[View the full topic](https://meta.discourse.org/t/bug-in-onebox-link-being-rendered-as-a-gist-when-it-isnt/202463)._
