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: migrate tables with html #1005

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

kellyjosephprice
Copy link
Collaborator

PR App CX-1192

🧰 Changes

Fixes migrating tables with html.

We're doing some shenanigans with table cells so that they support block content. We basically reparse each cell as if it's a root markdown doc and then re-insert it into the tree.

This adds block level html as a condition for wrapping said content in a paragraph. Wrapping it in a paragraph seems to be required to get remark to compile newlines correctly. 🤷

🧬 QA & Testing

@kellyjosephprice kellyjosephprice changed the base branch from next to feat/compat-parser October 28, 2024 20:38
@kellyjosephprice kellyjosephprice marked this pull request as ready for review October 30, 2024 20:06
Base automatically changed from feat/compat-parser to next October 30, 2024 21:20
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.

1 participant