# \[details\] breaks when embedded in a paragraph

**URL:** <https://meta.discourse.org/t/details-breaks-when-embedded-in-a-paragraph/63259>\
**Category:** Feature\
**Created:** [24 مايو 2017، 3:34ص UTC](https://meta.discourse.org/t/details-breaks-when-embedded-in-a-paragraph/63259 "2017-05-24T03:34:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![okeefe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/okeefe/32/72699_2.png) [@okeefe](https://meta.discourse.org/u/okeefe)\
**Post date:** [24 مايو 2017، 4:24ص UTC](https://meta.discourse.org/t/details-breaks-when-embedded-in-a-paragraph/63259/3 "2017-05-24T04:24:40Z")

</div>

Expecting newlines might be the bug.

Why does the preview have the expected behavior, then? One would expect that and the rendered version to act the same.

Using [details] for spoilers and not knowing this buggy behavior means you think you left a properly hidden spoiler when in fact you didn’t. This has been super aggravating, confusing, and unexpected for myself and friends on another discourse instance.

---

_[View the full topic](https://meta.discourse.org/t/details-breaks-when-embedded-in-a-paragraph/63259)._
