# 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:** 3

<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 23, 2020, 6:38pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/41 "2020-11-23T18:38:51Z")

</div>

I’m sorry I don’t seem helpful. It’s generally assumed that if you installed a plugin that you know how to remove it. If you were one of my clients I could do it for you. ~~If you would like for me to do it for you you can subscribe to [this service](https://www.literatecomputing.com/automatic-rebuilds-when-they-are-needed/).~~ EDIT: Your problem appears to be beyond the scope of that service. Best of luck to you!

Edit `app.yml`. Remove the line that includes the retort plugin.

`./launcher rebuild app`

See [Install Plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157) for more instructions.

---

<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 23, 2020, 6:41pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/42 "2020-11-23T18:41:08Z")

</div>

> [@mholt](#):
>
> Is this site running vanilla Discourse, with no customizations or plugins?

You can also try to repro at [try.discourse.org](http://try.discourse.org) – you might also try reproducing in a web browser you don’t normally use, to rule out any unusual local browser customizations or plugins.

We were never able to reproduce this the last time it was reported; I don’t expect this time to be any different. Can’t fix what we can’t reproduce, unfortunately.

---

<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 23, 2020, 6:42pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/43 "2020-11-23T18:42:43Z")

</div>

Did you go to the (multiple!) sites where it is happening and actually try? All you have to do is select text. Because we have about a dozen people across multiple sites reporting the problem.

---

<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 23, 2020, 6:47pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/44 "2020-11-23T18:47:21Z")

</div>

It just says:

```plaintext
WARNING: Docker version 17.05.0-ce deprecated, recommend upgrade to 17.06.2 or newer.
You have less than 5GB of free space on the disk where /var/lib/docker is located. You will need more space to continue
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 50G 42G 5.0G 90% /

Would you like to attempt to recover space by cleaning docker images and containers in the system?(y/N)y
If the cleanup was successful, you may try again now

```

But it doesn’t do anything different, no matter how many times I run it.

> [@pfaffman](#):
>
> It’s generally assumed that if you installed a plugin that you know how to remove it.

It’s generally assumed that installing a plugin without editing a yml file would imply being able to remove it without editing a yml file.

---

<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 23, 2020, 7:19pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/45 "2020-11-23T19:19:42Z")

</div>

Unfortunately we are completely powerless to fix a problem we can’t reproduce.

---

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [November 23, 2020, 7:32pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/46 "2020-11-23T19:32:56Z")

</div>

> [@mholt](#):
>
> Our installation is now vanilla Discourse

What about getting a new Digital Ocean droplet (or similar) and installing Discourse from scratch? Then restore your data into it and try again? There are recent topics about that. Then reinstall that plugin. If it starts working then you’ll likely never know what was wrong to begin with but you won’t care any more 🙂

---

<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 23, 2020, 8:35pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/47 "2020-11-23T20:35:06Z")

</div>

> [@mholt](#):
>
> It’s generally assumed that installing a plugin without editing a yml file would imply being able to remove it without editing a yml file.

Absolutely

There is no way to install a plug-in without editing a YAML file

---

<div class="post-metadata">

### Author: ![alex21](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@alex21](https://meta.discourse.org/u/alex21)
#### Post date: [November 23, 2020, 10:28pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/48 "2020-11-23T22:28:06Z")

</div>

> [@mholt](#):
>
> Did you go to the (multiple!) sites where it is happening and actually try? All you have to do is select text. Because we have about a dozen people across multiple sites reporting the problem.

I can imagine the requirement to fix a Discourse bug is not reproducing it on any given Discourse site, but on a site over which the Discourse team has control to reproduce themselves, get logs, modify settings, test, etc… Otherwise how do you expect them to fix it?

---

<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 24, 2020, 2:26am UTC](https://meta.discourse.org/t/quoting-not-working/170249/49 "2020-11-24T02:26:26Z")

</div>

I’m not sure whether to laugh or cry. Today on my site the quoting works fine. Yesterday, despite previously having first a while ago not worked in any browser, it worked in Edge and Opera but not Chrome or Firefox. Now unexpectedly working as expected in all.

I have never had any plugins apart from what Discourse comes with. I am on 2.6.9.beta6, updated to the minute with the latest commits. Running on Ubuntu 20.04 LTS on DigitalOcean droplet.

So this is great. But mystifyuing. Obviously sofware cant fix itself, so there must be some tiny chnage in OS, browser, or Discourse that is influencing this, but may never be able to be identified. The only thing I can say is that I have ‘graceful’ theme installed, and it has underdone some turbulence in terms of quite a few updates in the last days. But I am not using that theme. Is it possible that it has to be removed and not just not used? I find it odd that themes/plugins/etc that are not is use should upset things, but I am prepared to believe it (just barely).

Having raised this issue to begin with, all I can say now is that today’s exact situation with everything updated, no plugin ring-ins, all is fine. It’s almost embarrassing, and yet I swear the issue was there and causing annoyance.

That’s where I am now, but I am sure there is more to this story, as others are certainly seeing what I was.

---

<div class="post-metadata">

### Author: ![JimPas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimpas/32/148179_2.png) [@JimPas](https://meta.discourse.org/u/JimPas)
#### Post date: [November 24, 2020, 5:24am UTC](https://meta.discourse.org/t/quoting-not-working/170249/50 "2020-11-24T05:24:48Z")

</div>

> [@mholt](#):
>
> `WARNING: Docker version 17.05.0-ce deprecated, recommend upgrade to 17.06.2 or newer.`

I realize you ran cleanup multiple times, but did you upgrade Docker to the newer version since your version is deprecated?  
Clearing browser cache sometimes helps.

I have to admit, your problem was an odd one at best. So is the problem cleared up on all the sites that were experiencing it?

I tried to repro on my site trying several methods, but was unable to. Everything worked as it should. Hopefully your problem doesn’t return. 🤞

---

<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 24, 2020, 6:02am UTC](https://meta.discourse.org/t/quoting-not-working/170249/51 "2020-11-24T06:02:47Z")

</div>

It’s absolutely still a problem on [https://caddy.community](https://caddy.community).

Go to literally any help thread while logged in, where the user used our template. Select the word `version`, and the quote button appears. Then select the whole line, it doesn’t appear.

Like I said earlier, the symptom is very clear. The problem is when any HTML tag boundary is crossed in the selection, it doesn’t let us quote.

> [@Quoting not working](https://meta.discourse.org/t/quoting-not-working/170249/8):
>
> 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 selec…

---

<div class="post-metadata">

### Author: ![JimPas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimpas/32/148179_2.png) [@JimPas](https://meta.discourse.org/u/JimPas)
#### Post date: [November 24, 2020, 7:25am UTC](https://meta.discourse.org/t/quoting-not-working/170249/52 "2020-11-24T07:25:23Z")

</div>

First off, I’m not familiar at all with Cady. From what I understand, you cannot quote from a template, but text outside of the template you can. Is that correct? Just trying to get on the same page. 🙂

Does the problem below have anything to do with the quoting problem you’re experiencing? I notice a rendering problem in another template one of your users is working on. Maybe the quote problem is related to the template problem?

> **[Markdown rendering of fenced code block corrupts the rendering](https://caddy.community/t/markdown-rendering-of-fenced-code-block-corrupts-the-rendering/10293)**
>
> 1. Caddy version (caddy version): very latest 2.2.1 2. How I run Caddy: from build via xcaddy then /opt/caddy/bin/linux-amd64 run --config /opt/caddy/conf/example.conf --adapter caddyfile a. System environment: linux amd64 d. My complete...

---

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [November 24, 2020, 9:29am UTC](https://meta.discourse.org/t/quoting-not-working/170249/53 "2020-11-24T09:29:34Z")

</div>

> [@francislavoie](#):
>
> Like I said earlier, the symptom is very clear. The problem is when any HTML tag boundary is crossed in the selection, it doesn’t let us quote.

There is more to it than that. On your forum it is impossible to “Quote” any `code` text (whether on its own or selected together with non-`code` text).

What happens when you remove your code highlight settings? When I remove the `hljs` classes, spans and the pre tag around a code block, “Quote” works. Obviously the code doesn’t look right…

---

<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 24, 2020, 9:43am UTC](https://meta.discourse.org/t/quoting-not-working/170249/54 "2020-11-24T09:43:52Z")

</div>

> [@JimPas](#):
>
> From what I understand, you cannot quote from a template, but text outside of the template you can. Is that correct? Just trying to get on the same page. 🙂

No, I was only mentioning the template as a consistent fixture to talk about. But it’s a problem everywhere.

> [@JimPas](#):
>
> Does the problem below have anything to do with the quoting problem you’re experiencing?

Completely unrelated. Caddy is a web server, and it can render markdown and Go templates to html as one of its features. That thread has nothing to do with Discourse itself, it’s a question about Caddy.

> [@Jonathan5](#):
>
> There is more to it than that. On your forum it is impossible to “quote” any `code` text (whether on its own or selected together with non- `code` text).

Right, which is consistent with my hypothesis that it has to do with HTML element boundaries.

> [@Jonathan5](#):
>
> What happens when you remove your code highlight settings? When I remove the `hljs` classes, spans and the pre tag around a code block, “Quote” works. Obviously the code doesn’t look right…

`hljs` works by lexing the code and outputting HTML spans with classes for each type of token. This means a code block will often not be one contiguous HTML element, but be composed of many spans to provide colours. This is definitely not an `hljs` issue.

---

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [November 24, 2020, 10:00am UTC](https://meta.discourse.org/t/quoting-not-working/170249/55 "2020-11-24T10:00:01Z")

</div>

> [@francislavoie](#):
>
> which is consistent with my hypothesis that it has to do with HTML element boundaries

I’m not sure it is consistent. It’s not possible to “Quote” any characters in `code` text in [Site served by Caddy looks different to my HTML when open from disk - #4 by francislavoie - Help - Caddy Community](https://caddy.community/t/site-served-by-caddy-looks-different-to-my-html-when-open-from-disk/10499/4) (i.e. even within the `code` tag boundary). Except for the word `file_server` on the occasion where it is not surrounded by `pre` tags - that works all right for whatever reason.

> [@francislavoie](#):
>
> This is definitely not an `hljs` issue.

OK cheers. I’ll give up now 🙂

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [November 24, 2020, 6:09pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/56 "2020-11-24T18:09:29Z")

</div>

> [@francislavoie](#):
>
> It’s absolutely still a problem on [https://caddy.community](https://caddy.community)

Something is wrong with caddy.community, specifically. I tried to reproduce the reported issue on meta, try, review, a customer site and a self-hosted site, and quoting multiple lines worked everywhere. I’m not sure how the caddy site is only broken on this one specific functionality… but it is.

Although, I see another problem on the caddy site is this CSP error in the console: `Refused to load https://caddy.community/google-universal-analytics-v3.js because it does not appear in the script-src directive of the Content Security Policy.`. The underlying issue is that the path to the script is wrong, it should be `../assets/google-universal-analytics-v3-HASH.js`.

---

<div class="post-metadata">

### Author: ![B-iggy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/b-iggy/32/201234_2.png) [@B-iggy](https://meta.discourse.org/u/B-iggy)
#### Post date: [November 25, 2020, 9:42am UTC](https://meta.discourse.org/t/quoting-not-working/170249/57 "2020-11-25T09:42:56Z")

</div>

Hey guys,  
just found this topic after I made my bug report:  
[https://meta.discourse.org/t/cant-quote-in-certain-situations/171269](https://meta.discourse.org/t/cant-quote-in-certain-situations/171269)

A successful rebuild should indeed fix your issues with quoting.  
_My misconception was, that I thought upgrading via /admin/upgrade is doing a rebuild too._

---

<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 25, 2020, 11:19am UTC](https://meta.discourse.org/t/quoting-not-working/170249/58 "2020-11-25T11:19:39Z")

</div>

Shouldn’t we actually try to find out why this even broke in the first place rather than blindly rebuilding? What’s to say this issue doesn’t return? Where did this regression come from? Was there a problem with a version migration script?

---

<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 25, 2020, 12:20pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/59 "2020-11-25T12:20:06Z")

</div>

> [@francislavoie](#):
>
> Shouldn’t we actually try to find out why this even broke in the first place rather than blindly rebuilding?

Blindly rebuilding is often the solution, much like blindly rebooting often solves problems. You’re welcome to sleuth the cause of the issue, but the solution will be the same.

---

<div class="post-metadata">

### Author: ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)
#### Post date: [November 25, 2020, 10:57pm UTC](https://meta.discourse.org/t/quoting-not-working/170249/60 "2020-11-25T22:57:23Z")

</div>

I’m getting the same thing on one forum (but not the other newer one).

Have tried rebuilding a couple of times but no joy.

It seems to happen when there is a html tag inside what you want to quote - so if you want to quote a single paragraph, it works, but if there’s something in **bold** or you want to quote more than one paragraph, it doesn’t.

Interestingly, if you log out, and the ’ share quote visibility’ is set to anonymous, it works for those not logged in (or seems to anyway). So I am guessing this could be what it’s related to? That is a fairly new feature I think?

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

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