# Onebox embeds too much content when target page has malformed HTML

**URL:** <https://meta.discourse.org/t/onebox-embeds-too-much-content-when-target-page-has-malformed-html/21193>\
**Category:** Feature\
**Created:** [16 Octubre, 2014 12:48 UTC](https://meta.discourse.org/t/onebox-embeds-too-much-content-when-target-page-has-malformed-html/21193 "2014-10-16T12:48:50Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [21 Octubre, 2014 00:32 UTC](https://meta.discourse.org/t/onebox-embeds-too-much-content-when-target-page-has-malformed-html/21193/8 "2014-10-21T00:32:04Z")

</div>

We can, nokogiri can iron out bad html and we can trucate it at some sort of sane size.

---

_[View the full topic](https://meta.discourse.org/t/onebox-embeds-too-much-content-when-target-page-has-malformed-html/21193)._
