# \[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:** [8. Juni 2017 um 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:** 5

<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:** [8. Juni 2017 um 20:07 UTC](https://meta.discourse.org/t/details-plugin-working-while-editing-but-not-when-posted/64189/5 "2017-06-08T20:07:51Z")

</div>

I’m not disagreeing about the blank lines needed. When I remove the blank lines, here’s what the preview looks like (it appears to work):

 ![](https://global.discourse-cdn.com/meta/original/3X/2/2/22808db08dc277434fef0a3eea197b5b24abe573.png)

> **details go here**
>
> This text will not be visible until you expand the spoiler.
> 
> it also works with blurred text
> 
> ```plaintext
> this is code
> 
> ```

However, once posted the cooked post does not match the preview.

---

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