# \[details\] plugin working while editing but not when posted

**URL:** https://meta.discourse.org/t/details-plugin-working-while-editing-but-not-when-posted/64189
**Category:** Bug
**Tags:** markdown-it-review
**Created:** [2017年六月8日 19:47 UTC](https://meta.discourse.org/t/details-plugin-working-while-editing-but-not-when-posted/64189 "2017-06-08T19:47:19Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2017年六月8日 20:01 UTC](https://meta.discourse.org/t/details-plugin-working-while-editing-but-not-when-posted/64189/3 "2017-06-08T20:01:15Z")

</div>

It does need a blank line above the start block and below the end block to work.

> [@Details tag preview doesn't match cooked post](https://meta.discourse.org/t/details-tag-preview-doesnt-match-cooked-post/50386):
>
> Trying to have a details section inside an existing details section. In the preview when composing it appears correctly, but does not work correctly when the post is cooked. [image] This is how it is actually displaying play_button Utilities (10) Raw text: [details=Utilities (10)] \*\*All Utility drives now contain identical tools\*\* - NX (4) - Silver Capless - White mini Sony capless - Black & Blue PNY - Black & White Cruzer slide - Maple (1) - Blue Kingston Swivel - Matlab (3) - Red mini SanDisk…

* * *

> [@Nick\_Winter](#):
>
> While editing, it works.

This seems to be the real bug that everyone is reporting. Details work. But why does the preview render differently than the cooked post?

---

_[View the full topic](https://meta.discourse.org/t/details-plugin-working-while-editing-but-not-when-posted/64189)._
