# Quotes containing code block must start with newline

**URL:** <https://meta.discourse.org/t/quotes-containing-code-block-must-start-with-newline/25369>\
**Category:** Bug\
**Created:** [18 februari 2015 om 18:42 UTC](https://meta.discourse.org/t/quotes-containing-code-block-must-start-with-newline/25369 "2015-02-18T18:42:13Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [4 mei 2020 om 18:59 UTC](https://meta.discourse.org/t/quotes-containing-code-block-must-start-with-newline/25369/8 "2020-05-04T18:59:35Z")

</div>

This seems to have regressed. If a code block plus a line of non-code text are quoted, the formatting of the code block is preserved. If a code block is quoted on its own, the formatting is not preserved.

I’ve posted an example of the problem here: [https://try.discourse.org/t/testing-issue-with-quoted-code-blocks/1401/2](https://try.discourse.org/t/testing-issue-with-quoted-code-blocks/1401/2).

---

_[View the full topic](https://meta.discourse.org/t/quotes-containing-code-block-must-start-with-newline/25369)._
