# Cannot quote spoiler text

**URL:** <https://meta.discourse.org/t/cannot-quote-spoiler-text/92864>\
**Category:** Feature\
**Created:** [July 22, 2018, 1:20am UTC](https://meta.discourse.org/t/cannot-quote-spoiler-text/92864 "2018-07-22T01:20:23Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [July 31, 2018, 7:42am UTC](https://meta.discourse.org/t/cannot-quote-spoiler-text/92864/16 "2018-07-31T07:42:31Z")

</div>

> [@seanblue](#):
>
> one of us misunderstood the other

Mea culpa, I was misinformed. Because I tend to avoid using JavaScript to set inline style attribute values, I looked only at this CSS

[https://github.com/discourse/discourse-spoiler-alert/blob/master/assets/stylesheets/discourse\_spoiler\_alert.css](https://github.com/discourse/discourse-spoiler-alert/blob/master/assets/stylesheets/discourse_spoiler_alert.css)

I misread your post that you were suggesting adding `user-select: text`, instead of removing `user-select: none` (which indeed is being added by script). Hence I thought you were suggesting removing the spoiler feature.

Posts with quoted post content of course follow the original post. But if the spoiler was easily made visible, it could defeat the original members intent of spoilering.

A problem is the reply - quote post pulls in the raw, while the select copy to clipboard captures the rendered. AFAIK, clipboard can not be made to do otherwise.

As for the invalid HTML, the current cooked HTML is like

```plaintext
<p>not spoilered </p>
<div>
<p>spoiler text</p>
</div>
<p>not spoilered</p>

```

For some reason I was thinking (or more correctly _not_ thinking 😊 ) you wanted something like (pseudocode)

```plaintext
<spoiler> text
<p>quoted text</p>
more text </spoiler>

```

i.e. spoilering the quote, not quoting the spoiler.

Sorry for the confusion.

Have you tried forking the plugin with the script that adds the “none” removed?

---

_[View the full topic](https://meta.discourse.org/t/cannot-quote-spoiler-text/92864)._
