# Onebox of link with anchor

**URL:** <https://meta.discourse.org/t/onebox-of-link-with-anchor/234110>\
**Category:** Product Support\
**Created:** [July 27, 2022, 6:52am UTC](https://meta.discourse.org/t/onebox-of-link-with-anchor/234110 "2022-07-27T06:52:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [July 27, 2022, 7:10am UTC](https://meta.discourse.org/t/onebox-of-link-with-anchor/234110/4 "2022-07-27T07:10:47Z")

</div>

`https://meta.discourse.org/t/onebox-of-link-with-anchor/234110#this-is-a-second-headline-2`

> [@Onebox of link with anchor](https://meta.discourse.org/t/onebox-of-link-with-anchor/234110#this-is-a-second-headline-2):
>
> I noticed a strage behavior with the onebox of an anchor link. Steps Create a topic with anchors Answer to that post Answer again with an anchor link to the second headline → Expected result a onebox showing the beginning of the linked post. At least this in what will happen if you post the same link in another topic. But you see the first answer as a onebox. Testing in this topic A text with some headlines This is a headline This is text after the headline This is a second headline Th…

This is a fun one. 🙂 In my preview it’s showing the OP in the onebox. Let’s see if it travels through to posting.

**Update:** That seemed to work okay. Perhaps something to do with the post number or user? I shall have an explore on my test site. Thanks for reporting @Moin 🙂 👍

---

_[View the full topic](https://meta.discourse.org/t/onebox-of-link-with-anchor/234110)._
