A bug has been reported by seanblue where quoting text that includes spoiler tags does not include the spoiler tags in the quote. Falco explained that this is due to the HTML->Markdown conversion library used in the select text and quote feature.
seanblue mentioned that this functionality used to work and was even improved in June of this year. Although a workaround is available by using the quote full post feature, seanblue inquired about the possibility of a fix. codinghorror acknowledged the issue and suggested making necessary edits in quotes as a temporary solution.
There’s currently an issue where highlighting text that includes spoiler text doesn’t actually put the spoiler tags in the quote. This definitely used to work, but I’m not sure when it broke.
For example, if you highlight this entire sentence, the spoiler part isn’t behind spoiler tags in the quote.
As far as I know the select text and quote feature will do a best effort work trying to preserve formatting using our HTML->Markdown conversion library.
If you use the quote full post (first button in the composer) we go to the server and ask for the raw markdown, and then the quote contains all the original formatting.
Support for quoting spoiler text was added back in August 2018 and it was improved in June of this year (even if incidentally) as referenced here. So while I understand that I can do the full post quote as a workaround, it remains that this is functionality that used to work and is now broken.