Skip to content

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Sep 3, 2025

when importing them as render target in quarto-web

Also, fix the existing ones.

files <- list.files("docs/download/changelog", pattern = "_changelog.md", recursive = TRUE)
for (file in files) {
 xfun::gsub_file(file, pattern = "(?<!\\{)(\\{\\{<[^>]*>\\}\\})(?!\\})", replacement = "{\\1}", perl = TRUE)
}

This fixes quarto-dev/quarto-cli#13322

@github-actions github-actions bot temporarily deployed to pull request September 3, 2025 11:32 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2025

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-1763.quarto.org

@github-actions github-actions bot temporarily deployed to pull request September 3, 2025 11:40 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2025

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-1763.quarto.org

@cderv
Copy link
Collaborator Author

cderv commented Sep 3, 2025

This PR helps at least fix then issue in 1.5 changelog
image

And prevent this specific problem in the future.

It may not be the long term solution as their could be other quarto-only syntax at some point, but if so, then I guess we'll have other problems too (as changelog.md is used in more places)

@cderv cderv merged commit f858666 into main Sep 12, 2025
4 checks passed
@cderv cderv deleted the release-note/escape-shortcodes branch September 12, 2025 12:24
@github-actions
Copy link
Contributor

Successfully created backport PR for prerelease:

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.

Shortcodes not escaped in Release Notes

2 participants