# Details markup not working correctly in messages

**URL:** <https://meta.discourse.org/t/details-markup-not-working-correctly-in-messages/52967>\
**Category:** Bug\
**Tags:** markdown-it-review\
**Created:** [16 november 2016 om 13:43 UTC](https://meta.discourse.org/t/details-markup-not-working-correctly-in-messages/52967 "2016-11-16T13:43:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Wright](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alexander_wright/32/119518_2.png) [@Alexander\_Wright](https://meta.discourse.org/u/Alexander_Wright)\
**Post date:** [16 november 2016 om 13:43 UTC](https://meta.discourse.org/t/details-markup-not-working-correctly-in-messages/52967/1 "2016-11-16T13:43:21Z")

</div>

Using the `[details=Summary]This text will be hidden[/details]` in a private message results in the Summary drop down appearing correctly, but the hidden text appearing immediately below, and not hidden as it would be in a topic post.

It does, however, work in the markup editor when you are writing the message.

---

_[View the full topic](https://meta.discourse.org/t/details-markup-not-working-correctly-in-messages/52967)._
