Skip to content

Don't crash on cross reference when format: ipynb - #13965

Merged
cderv merged 3 commits into
mainfrom
fix/issue-13956
Jan 28, 2026
Merged

cderv merged 3 commits into
mainfrom
fix/issue-13956

Conversation

@cderv

@cderv cderv commented Jan 27, 2026 •

Copy link
Copy Markdown
Member

Fixes #13956

This also adds a new helper for checking ipynb cell content: ensureIpynbCellMatches

I think this was related to previous fix we did (#13624) so I adopted same approach.

cderv added 2 commits January 27, 2026 21:47
Also add a verify function for Ipynb cell content
Wrap float.content with pandoc.Blocks() in the ipynb renderer to handle
content that arrives as a list instead of a typed Blocks element.

Fixes #13956
@posit-snyk-bot

posit-snyk-bot commented Jan 27, 2026 •

Copy link
Copy Markdown
Collaborator

✅ 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.

@cderv
cderv merged commit c5e4e87 into main Jan 28, 2026
92 of 93 checks passed
@cderv
cderv deleted the fix/issue-13956 branch January 28, 2026 09:50
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.

Crash when using inline #| label: fig-* syntax with format: ipynb

2 participants