# Line breaks in code blocks don't work without a linebreak above

**URL:** <https://meta.discourse.org/t/line-breaks-in-code-blocks-dont-work-without-a-linebreak-above/31555>\
**Category:** Bug\
**Created:** [30 Julio, 2015 08:28 UTC](https://meta.discourse.org/t/line-breaks-in-code-blocks-dont-work-without-a-linebreak-above/31555 "2015-07-30T08:28:53Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [30 Julio, 2015 08:28 UTC](https://meta.discourse.org/t/line-breaks-in-code-blocks-dont-work-without-a-linebreak-above/31555/1 "2015-07-30T08:28:53Z")

</div>

I have a few code blocks inside lists in my [“Importing from phpBB3” topic](https://meta.discourse.org/t/importing-from-phpbb3/30810/1). They looked fine when I posted this a few days ago. But now, after a small edit with insignificant changes, the line breaks inside the code blocks are gone.

The preview still looks fine:  
 ![](https://global.discourse-cdn.com/meta/original/3X/b/d/bd8e166bdb3d79b300404e7ae89f9d05949a2234.png)

The actual post however looks wrong:  
 ![](https://global.discourse-cdn.com/meta/original/3X/3/6/362ddc188fbc69ca8b73640b39c2d42dc3ea3d0c.png)

Is this a regression or is there something wrong with my post?

---

_[View the full topic](https://meta.discourse.org/t/line-breaks-in-code-blocks-dont-work-without-a-linebreak-above/31555)._
