# Hide Details applies separately

**URL:** https://meta.discourse.org/t/hide-details-applies-separately/68152
**Category:** Bug
**Tags:** hide-details
**Created:** [2017年八月16日 11:48 UTC](https://meta.discourse.org/t/hide-details-applies-separately/68152 "2017-08-16T11:48:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![SidV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidv/32/119460_2.png) [@SidV](https://meta.discourse.org/u/SidV)
#### Post date: [2017年八月16日 11:48 UTC](https://meta.discourse.org/t/hide-details-applies-separately/68152/1 "2017-08-16T11:48:55Z")

</div>

This bug has to be re-open: [Hide Details applies separately to each paragraph](https://meta.discourse.org/t/hide-details-applies-separately-to-each-paragraph/51510).

### Reproduction

1. Write several lines of text (separate with linebreak)
2. Choose all the lines.
3. Click Hide Details.
4. PROFIT

Tested **here** , right now:

> **Summary**
>
> Paragraph 1: text text and more text

> **Summary**
>
> Paragraph 2: text text and more text

> **Summary**
>
> Paragraph 3: text text and more text

> **Summary**
>
> Paragraph 4: text text and more text

* * *

I checked the PR that solved this bug before, and I think it’s a regression.  
Check this out: [https://github.com/discourse/discourse/pull/4499/files](https://github.com/discourse/discourse/pull/4499/files) cc. @tgxworld

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2017年八月16日 12:52 UTC](https://meta.discourse.org/t/hide-details-applies-separately/68152/2 "2017-08-16T12:52:52Z")

</div>

Just to clarify, the implementation of hide details is fine, the bug is in the toolbar button.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018年七月9日 07:35 UTC](https://meta.discourse.org/t/hide-details-applies-separately/68152/3 "2018-07-09T07:35:53Z")

</div>

Let’s see

line 1  
line 2  
line 3

> **Summary**
>
> line 1  
> line 2  
> line 3

line 1

line 2

line 3

> **Summary**
>
> line 1
> 
> line 2
> 
> line 3

Both look fine to me?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018年七月9日 07:45 UTC](https://meta.discourse.org/t/hide-details-applies-separately/68152/4 "2018-07-09T07:45:40Z")

</div>

Agree this looks fixed now, closing @SidV flag if you still notice an issue.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018年七月9日 07:45 UTC](https://meta.discourse.org/t/hide-details-applies-separately/68152/5 "2018-07-09T07:45:44Z")

</div>


