Skip to content

Fix/citation bibtex copy button scaffold#14387

Open
AJBogo9 wants to merge 2 commits into
quarto-dev:mainfrom
AJBogo9:fix/citation-bibtex-copy-button-scaffold
Open

Fix/citation bibtex copy button scaffold#14387
AJBogo9 wants to merge 2 commits into
quarto-dev:mainfrom
AJBogo9:fix/citation-bibtex-copy-button-scaffold

Conversation

@AJBogo9
Copy link
Copy Markdown

@AJBogo9 AJBogo9 commented Apr 18, 2026

Description

In 1.8 the CSS copy-button hover selector was changed to require a div.code-copy-outer-scaffold parent. Regular code blocks were updated but the citation appendix template was not. The consequence was that the copy button became invisible on BibTeX citation entries. This fix wraps the BibTeX <pre> block in the scaffold div to match.

Closes #13669

Checklist

I have (if applicable):

  • filed a contributor agreement.
  • referenced the GitHub issue this PR closes
  • updated the appropriate changelog in the PR
  • ensured the present test suite passes
  • added new tests
  • created a separate documentation PR in Quarto's website repo and linked it to this PR

AJBogo9 added 2 commits May 12, 2026 20:51
In 1.8 the CSS copy-button hover selector was changed to require a
div.code-copy-outer-scaffold parent. Regular code blocks were updated
but the citation appendix template was not, making the copy button
invisible. Wrap the bibtex <pre> in the scaffold div to match.
@AJBogo9 AJBogo9 force-pushed the fix/citation-bibtex-copy-button-scaffold branch from 6d2e847 to 0d31ab0 Compare May 12, 2026 17:53
@posit-snyk-bot
Copy link
Copy Markdown
Collaborator

posit-snyk-bot commented May 12, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copy button missing in Bibtex when using citation

2 participants