# "Open all external links in new tab" doesn't work from reply context

**URL:** https://meta.discourse.org/t/open-all-external-links-in-new-tab-doesnt-work-from-reply-context/28446
**Category:** Bug
**Created:** [5월 7, 2015, 1:32오후 UTC](https://meta.discourse.org/t/open-all-external-links-in-new-tab-doesnt-work-from-reply-context/28446 "2015-05-07T13:32:26Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Onyx](https://avatars.discourse-cdn.com/v4/letter/o/b77776/32.png) [@Onyx](https://meta.discourse.org/u/Onyx)
#### Post date: [5월 7, 2015, 1:32오후 UTC](https://meta.discourse.org/t/open-all-external-links-in-new-tab-doesnt-work-from-reply-context/28446/1 "2015-05-07T13:32:26Z")

</div>

It seems to be isolated only to links to other Discourse instances though.

Repro steps, with “Open external links in new tab” enabled in options:

1. Reply to a post containing a link to another Discourse instance (not a oneboxed post)
2. Click the “Reply to” indicator.
3. Click on the link

- external links to non-Discourse sites seem to work fine
- links to other Discourse instances open in same tab
- EXCEPTION: [http://what.thedailywtf.com](http://what.thedailywtf.com) behaves correctly

Reproduced here in a PM chain.

---

<div class="post-metadata">

### Author: ![seyitaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/seyitaylor/32/162867_2.png) [@seyitaylor](https://meta.discourse.org/u/seyitaylor)
#### Post date: [5월 22, 2015, 12:50오전 UTC](https://meta.discourse.org/t/open-all-external-links-in-new-tab-doesnt-work-from-reply-context/28446/2 "2015-05-22T00:50:42Z")

</div>

Even this didn’t work for me.

---

<div class="post-metadata">

### Author: ![anon21958287](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@anon21958287](https://meta.discourse.org/u/anon21958287)
#### Post date: [5월 27, 2015, 10:48오전 UTC](https://meta.discourse.org/t/open-all-external-links-in-new-tab-doesnt-work-from-reply-context/28446/3 "2015-05-27T10:48:46Z")

</div>

I just had this problem with a link (oneboxed) to here.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [5월 28, 2015, 6:30오전 UTC](https://meta.discourse.org/t/open-all-external-links-in-new-tab-doesnt-work-from-reply-context/28446/4 "2015-05-28T06:30:01Z")

</div>

Just to clarify, this is in fact broken:

 ![](https://global.discourse-cdn.com/meta/original/3X/2/5/254e83b613f2419693b5aaa16eb24cdfd4acb5e1.png) 

The oneboxes are good, the non oneboxed stuff is bust.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [5월 28, 2015, 6:39오전 UTC](https://meta.discourse.org/t/open-all-external-links-in-new-tab-doesnt-work-from-reply-context/28446/5 "2015-05-28T06:39:51Z")

</div>

Fixed per:

[https://github.com/discourse/discourse/commit/9d113bd536a0c5bf0dd2819edbd6783d6693928e](https://github.com/discourse/discourse/commit/9d113bd536a0c5bf0dd2819edbd6783d6693928e)

Quite severe, all link tracking was broken for any expanded posts (above or below)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [5월 28, 2015, 6:39오전 UTC](https://meta.discourse.org/t/open-all-external-links-in-new-tab-doesnt-work-from-reply-context/28446/6 "2015-05-28T06:39:53Z")

</div>


