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

Merged
merged 2 commits into from
Nov 1, 2024
Merged

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
@kellyjosephprice kellyjosephprice force-pushed the fix/migrate-tables-with-html branch from 36a843e to 36bae34 Compare October 30, 2024 21:22
@kellyjosephprice kellyjosephprice merged commit 2aa7b83 into next Nov 1, 2024
13 checks passed
@kellyjosephprice kellyjosephprice deleted the fix/migrate-tables-with-html branch November 1, 2024 20:53
rafegoldberg pushed a commit that referenced this pull request Nov 1, 2024
## Version 7.9.0
### ✨ New & Improved

* migrate export ([#1009](#1009)) ([a0433fe](a0433fe))

### 🛠 Fixes & Updates

* migrate tables with html ([#1005](#1005)) ([2aa7b83](2aa7b83))

<!--SKIP CI-->
@rafegoldberg
Copy link
Contributor

This PR was released!

🚀 Changes included in v7.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants