# 편집 이력에서 원박스(Onebox)의 표시

**URL:** https://meta.discourse.org/t/appearance-of-a-onebox-in-the-edit-history/412207
**Category:** UX
**Tags:** onebox, fixed, revisions
**Created:** [9월 11, 2026, 9:41오전 UTC](https://meta.discourse.org/t/appearance-of-a-onebox-in-the-edit-history/412207 "2026-09-11T09:41:26Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [9월 12, 2026, 3:30오후 UTC](https://meta.discourse.org/t/appearance-of-a-onebox-in-the-edit-history/412207/3 "2026-09-12T15:30:02Z")

</div>

리포트 감사합니다 @Moin 👍

diff 작업은 어렵습니다 😬 하지만 이 PR이 병합되면hopefully 더 나아질 것으로 기대합니다.

> <https://github.com/discourse/discourse/pull/43604>
>
> Previously, \`DiscourseDiff\` wrapped every added text token in \`\<ins\>\`, including… the formatting whitespace between tags. Inside a GitHub onebox, whose body is a CSS grid with \`display: contents\` rows, those extra elements became grid items and displaced the title into the 2.5em icon column, where it wrapped one character per line.
> 
> This change appends whitespace-only text nodes to the preceding tag token so they can never become elements.
> 
> It also fixes three things found alongside it:
> 
> \- closing tags were given a class, emitting \`\</h4 class="diff-ins"\>\`
> \- \`class=\` was matched inside attribute values, so \`\[text\](url "class=foo")\` raised \`NoMethodError\` and returned a 500 from the revisions endpoint
> \- the raw view tinted the whole cell even when only some words changed, hiding the word-level markers underneath, and quote backgrounds hid the highlight on an inserted or removed quote
> 
> Reported in https://meta.discourse.org/t/appearance-of-a-onebox-in-the-edit-history/412207

---

_[View the full topic](https://meta.discourse.org/t/appearance-of-a-onebox-in-the-edit-history/412207)._
