Skip to content

Conversation

@cscheid
Copy link
Collaborator

@cscheid cscheid commented Dec 12, 2025

This avoids us clobbering the existing Markdown structure when shortcodes are invoked inside link targets. Pandoc 3.7 and later are more strict in where spaces can appear inside links and image targets, and this transformation should now work in that setting. (thanks @vezwork for the idea!)

When merged, this should allow us to safely upgrade Pandoc.

This avoids us clobbering the existing Markdown structure when
shortcodes are invoked inside link targets. Pandoc 3.7 and later
are more strict in where spaces can appear inside links and
image targets, and this transformation should now work in that setting.
@cscheid cscheid changed the title Use a safer two-stage transformation. Use a safer, two-stage transformation in readqmd.lua Dec 12, 2025
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Dec 12, 2025

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

Status Scanner 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.

@cscheid cscheid merged commit 8704176 into main Dec 13, 2025
51 checks passed
@cscheid cscheid deleted the bugfix/shortcode-in-target branch December 13, 2025 19:37
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.

3 participants