# Quoting not working

**URL:** https://meta.discourse.org/t/quoting-not-working/170249
**Category:** Support
**Created:** [November 16, 2020, 7:54am UTC](https://meta.discourse.org/t/quoting-not-working/170249 "2020-11-16T07:54:41Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)
#### Post date: [November 16, 2020, 7:54am UTC](https://meta.discourse.org/t/quoting-not-working/170249/1 "2020-11-16T07:54:41Z")

</div>

On any browser, quoting seems to have become completely random - on some material it works, on others, no quote button is displayed. I can’t see any pattern in it. Using Discourse 2.6.0 beta5.

What am I missing? Is there some setting to adjust? But it just seems buggy.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [November 16, 2020, 7:59am UTC](https://meta.discourse.org/t/quoting-not-working/170249/2 "2020-11-16T07:59:45Z")

</div>

Hey Andrew, is this an issue you’re having with the Discourse Wordpress Plugin, or just with Discourse? If it’s just with Discourse, please change the category of your post to #Support (it’s currently #Support > WordPress).

As to the issue itself, could you talk us through some steps to reproduce the issue you’re having, for example:

1. I select some text in a post I want to quote
2. I don’t see the quote button appear..?

---

<div class="post-metadata">

### Author: ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)
#### Post date: [November 16, 2020, 8:17am UTC](https://meta.discourse.org/t/quoting-not-working/170249/3 "2020-11-16T08:17:08Z")

</div>

> [@angus](#):
>
> - I select some text in a post I want to quote
> - I don’t see the quote button appear…?

Indeed, exactly that. Except that you can quote some parts of some posts and not at all others. At this point I am unable to see a pattern in it.

I can see that in Firefox I can sometimes see the Quote button flash and then it very quickly disappears.

---

<div class="post-metadata">

### Author: ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)
#### Post date: [November 16, 2020, 8:27am UTC](https://meta.discourse.org/t/quoting-not-working/170249/4 "2020-11-16T08:27:08Z")

</div>

More testing shows that it is the case that I cant quote text that occurs after a quote. That can’t be desired behaviour, can it? Text _before_ a quote I can quote.

---

<div class="post-metadata">

### Author: ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)
#### Post date: [November 16, 2020, 8:36am UTC](https://meta.discourse.org/t/quoting-not-working/170249/5 "2020-11-16T08:36:13Z")

</div>

Ah, Ignore all this. It’s a poster who puts in manual line breaks (hard to see at first) and when you select what looks like a paragraph, quoting does not work. So it’s not really an issue. I was wondering why this suddenly started happening - it’s just posts from one erratic user. Most likely posts submitted by email that has wrapped the lines.

Consider the case closed.

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [November 16, 2020, 12:29pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/6 "2020-11-16T12:29:46Z")

</div>

I still don’t see why quoting should break in this case…

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 16, 2020, 1:03pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/7 "2020-11-16T13:03:55Z")

</div>

Can you provide a post here that cannot be quoted?

I have tried to replicate this here using what I think people are saying below, but I can’t replicate it here.

This is some text

```plaintext
this 
is 
some
code

```

and more text

This is a line that ends with a `<p>`

and another line.

---

<div class="post-metadata">

### Author: ![francislavoie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/francislavoie/32/200225_2.png) [@francislavoie](https://meta.discourse.org/u/francislavoie)
#### Post date: [November 16, 2020, 11:21pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/8 "2020-11-16T23:21:18Z")

</div>

I’ve been having issues with this on [https://caddy.community](https://caddy.community) for the past while.

It seems to happen when the selection crosses the boundary of HTML elements.

For example, if I select text that is totally contained within its own `<p>` with no `<code>` elements, it works fine, but as soon as I start also selecting the `<code>` bit, it doesn’t show the `Quote` button.

If I select a whole header (see any help post on the forums, which use a template for OP, with headers) then quote appears, but if selecting a header line plus the next line which is a `<p>`, then there’s no quote.

I’m not certain this is the cause, but it seems to be. This all used to work before, I could select anything I wanted to quote it. It’s been broken for idk, maybe a month? Hard to say when it started being a problem. We’re using `2.6.0.beta5` right now.

Firefox on Linux, Android and Windows.

---

<div class="post-metadata">

### Author: ![mholt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mholt/32/120935_2.png) [@mholt](https://meta.discourse.org/u/mholt)
#### Post date: [November 16, 2020, 11:23pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/9 "2020-11-16T23:23:32Z")

</div>

I notice the issue also happens across headers, line breaks, and code blocks. Using Chrome on Linux.

---

<div class="post-metadata">

### Author: ![Whitestrake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/whitestrake/32/59617_2.png) [@Whitestrake](https://meta.discourse.org/u/Whitestrake)
#### Post date: [November 17, 2020, 12:15am UTC](https://meta.discourse.org/t/quoting-not-working/170249/10 "2020-11-17T00:15:46Z")

</div>

Example in action on [a recent post on the Caddy community](https://caddy.community/t/site-served-by-caddy-looks-different-to-my-html-when-open-from-disk/10499/4?u=whitestrake):

 ![Screen Shot 2020-11-17 at 10.14.11 am](https://global.discourse-cdn.com/meta/original/3X/0/6/0624112cf55d7e9d80fc3198d684b0ad0ab0e109.png)

Quoting works within a code boundary (but only if carefully selected)

 ![Screen Shot 2020-11-17 at 10.14.36 am](https://global.discourse-cdn.com/meta/original/3X/a/d/ada08ea26f72ae402d8042d147e930b429b363b9.png)

Quoting does not work if you simply double-click select the code text

 ![Screen Shot 2020-11-17 at 10.15.00 am](https://global.discourse-cdn.com/meta/original/3X/c/e/ce75f74463c188ae2e18ec79e0702788681ed9b3.png)

Quoting works if you double-click non-code text

 ![Screen Shot 2020-11-17 at 10.15.18 am](https://global.discourse-cdn.com/meta/original/3X/f/2/f287f40a26d44ae3b6e3ec8537a02725352c3ee4.png)

Quoting does not work if you select over the code/normal text boundary

---

<div class="post-metadata">

### Author: ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)
#### Post date: [November 17, 2020, 12:20am UTC](https://meta.discourse.org/t/quoting-not-working/170249/11 "2020-11-17T00:20:17Z")

</div>

Yes, I see the same. Now that others have seen it, should we raise it as a defect?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 17, 2020, 2:20am UTC](https://meta.discourse.org/t/quoting-not-working/170249/12 "2020-11-17T02:20:18Z")

</div>

If you can’t replicate it here then it’s an issue with the site theme.

---

<div class="post-metadata">

### Author: ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)
#### Post date: [November 17, 2020, 3:16am UTC](https://meta.discourse.org/t/quoting-not-working/170249/13 "2020-11-17T03:16:16Z")

</div>

It’s not theme related. I tried several themes. I don’t know how to show this here, but as mentioned, some of my users submit by email, and email clients do all sorts of unmanageable things with line wrapping and hard returns. On the particular page where I noticed this, what looks like a coherent paragraph is a set of lines separated by   
 in the HTML. You can quote the lines, but not the whole paragraph. Here is an attempt to show this:

This just a test. Seems you can't quote whole   
paragraphs **where** _lines_  
are separated by br tags, like  
this.

[Now having posted this, it works on this Discourse Meta site, but not on my instance, 2.6.0.beta5 latest update, standard Dark theme.]

---

<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: [November 17, 2020, 4:12am UTC](https://meta.discourse.org/t/quoting-not-working/170249/14 "2020-11-17T04:12:31Z")

</div>

> [@Andro](#):
>
> [Now having posted this, it works on this Discourse Meta site, but not on my instance, 2.6.0.beta5 latest update, standard Dark theme.]

Have you tried in [safe mode](https://meta.discourse.org/t/53504?silent=true)?

---

<div class="post-metadata">

### Author: ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)
#### Post date: [November 17, 2020, 7:06am UTC](https://meta.discourse.org/t/quoting-not-working/170249/15 "2020-11-17T07:06:42Z")

</div>

> [@sam](#):
>
> Have you tried in [safe mode](https://meta.discourse.org/t/53504?silent=true)?

Issue persists identically in [safe mode](https://meta.discourse.org/t/53504?silent=true).

---

<div class="post-metadata">

### Author: ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)
#### Post date: [November 18, 2020, 11:04pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/16 "2020-11-18T23:04:11Z")

</div>

How do I move this thread to a bug report? Something is definitely broken.

---

<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: [November 18, 2020, 11:07pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/17 "2020-11-18T23:07:12Z")

</div>

Unless you can repro it here in a post, we will not accept this as a bug.

Here’s text with `code` inside, let me try quoting it..

> [@codinghorror](#):
>
> text with `code` inside, let

Yes that quotes fine.

---

<div class="post-metadata">

### Author: ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)
#### Post date: [November 18, 2020, 11:20pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/18 "2020-11-18T23:20:46Z")

</div>

So what version of Discourse is this site running?

This is a bit subtle because it is clearly defective on my site, else I would not be raising this. Of course you need to be able to duplicate, but …

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 19, 2020, 8:08am UTC](https://meta.discourse.org/t/quoting-not-working/170249/19 "2020-11-19T08:08:26Z")

</div>

> [@Andro](#):
>
> So what version of Discourse is this site running?

The latest version. You can view source and look for the generator tag near the top.

Your problem persists in [safe mode](https://meta.discourse.org/t/53504?silent=true)?

Edit: I thought you’d said so, but it’s still the best explanation. You might do a rebuild if you haven’t lately. That very often fixes things.

---

<div class="post-metadata">

### Author: ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)
#### Post date: [November 19, 2020, 8:29am UTC](https://meta.discourse.org/t/quoting-not-working/170249/20 "2020-11-19T08:29:02Z")

</div>

> [@pfaffman](#):
>
> Your problem persists in [safe mode](https://meta.discourse.org/t/53504?silent=true)?

Yes, as mentioned already above, sorry to say [safe mode](https://meta.discourse.org/t/53504?silent=true) does not make any difference.

[Next page](https://meta.discourse.org/t/quoting-not-working/170249.md?page=2)
