# Rendering bugs in new commit

**URL:** https://meta.discourse.org/t/rendering-bugs-in-new-commit/193463
**Category:** Bug
**Created:** [June 11, 2021, 12:05am UTC](https://meta.discourse.org/t/rendering-bugs-in-new-commit/193463 "2021-06-11T00:05:15Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![P16](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@P16](https://meta.discourse.org/u/P16)
#### Post date: [June 11, 2021, 12:05am UTC](https://meta.discourse.org/t/rendering-bugs-in-new-commit/193463/1 "2021-06-11T00:05:15Z")

</div>

Noticed two bugs when I upgraded to the latest:

1. Editing a post and saving it keeps the transparency even after saving. You need to refresh to see the post normally. First posts in a topic aren’t affected but subsequent ones are.
2. Instagram links no longer get a onebox - just show up as a link.

---

<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: [June 11, 2021, 12:38am UTC](https://meta.discourse.org/t/rendering-bugs-in-new-commit/193463/2 "2021-06-11T00:38:34Z")

</div>

What browser is this happening on, is it also happening on meta?

(I am unable to reproduce on this post).

---

<div class="post-metadata">

### Author: ![P16](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@P16](https://meta.discourse.org/u/P16)
#### Post date: [June 11, 2021, 12:51am UTC](https://meta.discourse.org/t/rendering-bugs-in-new-commit/193463/3 "2021-06-11T00:51:34Z")

</div>

@sam its happening on Meta with both Firefox and Chrome. It only happens when you edit a post and save without making any actual edits (just click save without changing anything).

If you can’t reproduce, you could go to this post and try it:  
[https://meta.discourse.org/t/instagram-and-facebook-oembed-api-to-stop-working-what-about-onebox/164242/22](https://meta.discourse.org/t/instagram-and-facebook-oembed-api-to-stop-working-what-about-onebox/164242/22)

The strange thing is that its only happening with some posts - for example, it doesn’t happen on this post - maybe because its still under the 5m edit time? EDIT: Yep, does this after the 5m editing time has elapsed. If you try it on your post now it should reproduce the bug.

---

<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: [June 11, 2021, 1:00am UTC](https://meta.discourse.org/t/rendering-bugs-in-new-commit/193463/4 "2021-06-11T01:00:15Z")

</div>

Hmm still not happening for me, but @nbianca has a related fix, merging it now, should be live in 20 minutes here. Let me know in an hour or so if this persists.

[https://github.com/discourse/discourse/pull/13335/files](https://github.com/discourse/discourse/pull/13335/files)

---

<div class="post-metadata">

### Author: ![P16](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@P16](https://meta.discourse.org/u/P16)
#### Post date: [June 11, 2021, 1:01am UTC](https://meta.discourse.org/t/rendering-bugs-in-new-commit/193463/5 "2021-06-11T01:01:21Z")

</div>

@sam I think that’s because you added a . in your edit. If I open a post to edit it and save without making any changes, it reproduces it for me.

---

<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: [June 11, 2021, 1:03am UTC](https://meta.discourse.org/t/rendering-bugs-in-new-commit/193463/6 "2021-06-11T01:03:57Z")

</div>

Still no repro, but probably cause I am running a slightly different code path since I am an administrator.

---

<div class="post-metadata">

### Author: ![P16](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@P16](https://meta.discourse.org/u/P16)
#### Post date: [June 11, 2021, 2:12am UTC](https://meta.discourse.org/t/rendering-bugs-in-new-commit/193463/7 "2021-06-11T02:12:53Z")

</div>

Still happening for me ☹

---

<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: [June 11, 2021, 5:29am UTC](https://meta.discourse.org/t/rendering-bugs-in-new-commit/193463/8 "2021-06-11T05:29:12Z")

</div>

Aha, yes I have a repro here. @nbianca maybe it is related to your change.

- Make a post
- Wait 6 minutes
- Click edit
- Change nothing
- Click save

---

<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: [June 15, 2021, 6:25am UTC](https://meta.discourse.org/t/rendering-bugs-in-new-commit/193463/11 "2021-06-15T06:25:53Z")

</div>

Should be fixed per:

[https://github.com/discourse/discourse/pull/13384](https://github.com/discourse/discourse/pull/13384)

Will be merged in soon.

---

<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: [June 15, 2021, 10:00pm UTC](https://meta.discourse.org/t/rendering-bugs-in-new-commit/193463/14 "2021-06-15T22:00:31Z")

</div>

This topic was automatically closed after 15 hours. New replies are no longer allowed.
