# Aparición de un onebox en el historial de ediciones

**URL:** https://meta.discourse.org/t/appearance-of-a-onebox-in-the-edit-history/412207
**Category:** UX
**Tags:** onebox, fixed, revisions
**Created:** [11 Septiembre, 2026 09: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:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [11 Septiembre, 2026 09:41 UTC](https://meta.discourse.org/t/appearance-of-a-onebox-in-the-edit-history/412207/1 "2026-09-11T09:41:27Z")

</div>

El onebox en el historial de ediciones ocupa un poco demasiado espacio para mi gusto.

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/c/3/ec327f88a06a849e8ed59af9a6f6fa9397e30cf2.png)

[Enlace al mensaje](https://meta.discourse.org/t/when-dragging-an-unselected-image-in-a-rich-text-editor-it-is-uploaded-repeatedly/402566/18)

---

<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: [12 Septiembre, 2026 15:30 UTC](https://meta.discourse.org/t/appearance-of-a-onebox-in-the-edit-history/412207/3 "2026-09-12T15:30:02Z")

</div>

gracias por el reporte @Moin 👍

hacer un diff es difícil 😬 pero esperemos que mejore una vez que esto se integre

> <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

---

<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: [14 Septiembre, 2026 08:13 UTC](https://meta.discourse.org/t/appearance-of-a-onebox-in-the-edit-history/412207/4 "2026-09-14T08:13:22Z")

</div>

así es como se ve el diff ahora

 ![2026-09-14 @ 08.13.03](https://global.discourse-cdn.com/meta/original/4X/a/a/8/aa8b8029de438ae526be05293ce99e67385fc0b0.png)

---

<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: [14 Septiembre, 2026 08:13 UTC](https://meta.discourse.org/t/appearance-of-a-onebox-in-the-edit-history/412207/5 "2026-09-14T08:13:32Z")

</div>


