FIX: Copy button was displayed on quoted codeblock (#9514)

FIX: Copy button was displayed on quoted codeblock (#9514)

diff --git a/app/assets/javascripts/discourse/initializers/copy-codeblocks.js b/app/assets/javascripts/discourse/initializers/copy-codeblocks.js
index 777400d..f7e81af 100644
--- a/app/assets/javascripts/discourse/initializers/copy-codeblocks.js
+++ b/app/assets/javascripts/discourse/initializers/copy-codeblocks.js
@@ -114,7 +114,7 @@ export default {
         }
 
         const commands = postElements[0].querySelectorAll(
-          ":scope > pre > code, :scope :not(article) > pre > code"
+          ":scope > pre > code, :scope :not(article):not(blockquote) > pre > code"
         );
 
         const post = helper.getModel();

GitHub sha: b7dea0d5

This commit appears in #9514 which was merged by jjaffeux.