Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(downloadButton): Return tag directly #3939

Closed
wants to merge 1 commit into from

Conversation

gadenbuie
Copy link
Member

Fixes #2392 by returning the link tag directly from downloadButton().

Previously, we were storing the tag in an unused variable and returning the assignment expression, causing the tag to be returned invisibly and breaking the print methods relied on by knitr for RMarkdown and Quarto support.

@gadenbuie
Copy link
Member Author

I didn't realize there was already a contributed fix when I created this PR; I'm closing this one in favor of #2672

@gadenbuie gadenbuie closed this Nov 8, 2023
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.

downloadButton doesn't render in rmarkdown
1 participant