Skip to content

Empty md xml#2120

Merged
rich-iannone merged 3 commits into
rstudio:masterfrom
thebioengineer:empty_md_xml
Jul 16, 2026
Merged

Empty md xml#2120
rich-iannone merged 3 commits into
rstudio:masterfrom
thebioengineer:empty_md_xml

Conversation

@thebioengineer

Copy link
Copy Markdown
Collaborator

Summary

Thank you for contributing to gt! To make this process easier for everyone, please explain the context and purpose of your contribution. Also, list the changes made to the existing code or documentation.

updated in 2 locations to try to handle when an empty md string is processed by xml - first it should return a paragraph xml node from markdown_to_xml, and parse_to_xml now looks for an empty markdown container node and returns a the same paragraph xml node with no text.

Related GitHub Issues and PRs

Checklist

There weren't major changes, so I didnt update the news,

@rich-iannone rich-iannone left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rich-iannone
rich-iannone merged commit 8ad7be0 into rstudio:master Jul 16, 2026
11 checks passed
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.

2 participants