# Pastebin onebox escapes page width

**URL:** https://meta.discourse.org/t/pastebin-onebox-escapes-page-width/39782
**Category:** Bug
**Created:** [2016年二月18日 07:02 UTC](https://meta.discourse.org/t/pastebin-onebox-escapes-page-width/39782 "2016-02-18T07:02:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![calmh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/calmh/32/115466_2.png) [@calmh](https://meta.discourse.org/u/calmh)
#### Post date: [2016年二月18日 07:02 UTC](https://meta.discourse.org/t/pastebin-onebox-escapes-page-width/39782/1 "2016-02-18T07:02:18Z")

</div>

Makes the viewport annoying on mobile. Seen here: [Can't install Discourse with only 10 GB disk, run out of space](https://meta.discourse.org/t/cant-install-discourse-with-only-10-gb-disk-run-out-of-space/29149)

 ![](https://global.discourse-cdn.com/meta/original/3X/b/c/bcf31eacd1a8f8948a63df6565a6d170589261d7.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2016年二月18日 17:09 UTC](https://meta.discourse.org/t/pastebin-onebox-escapes-page-width/39782/2 "2016-02-18T17:09:14Z")

</div>

Yep I reported this to @techapj as well, he can fix next week when back from vacation.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [2016年二月22日 11:02 UTC](https://meta.discourse.org/t/pastebin-onebox-escapes-page-width/39782/3 "2016-02-22T11:02:12Z")

</div>

This is now fixed via:

[https://github.com/discourse/onebox/commit/39f21da17a85c4b5e5e2ebecee886345347072cd](https://github.com/discourse/onebox/commit/39f21da17a85c4b5e5e2ebecee886345347072cd)

I improved the Pastebin onebox similar to GitHub Gist, the first 10 lines will be extracted and the rest will be truncated. No more iframe! 😄

* * *

See the new pastebin onebox demo here:

> **[How do I reply to folks here?](https://try.discourse.org/t/how-do-i-reply-to-folks-here/51/6)**
>
> I noticed there’s a few different ways to reply. I’m unclear which method of replying I should use, and when. Can anyone clarify this for me? Also how do I quote someone else’s post, as I have seen others do in replies here?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2016年二月22日 11:08 UTC](https://meta.discourse.org/t/pastebin-onebox-escapes-page-width/39782/4 "2016-02-22T11:08:51Z")

</div>


