Skip to content

fix: preserve markdown tables when pasting into notebooks#9862

Draft
oz-for-oss[bot] wants to merge 1 commit intomasterfrom
oz-agent/implement-issue-9747
Draft

fix: preserve markdown tables when pasting into notebooks#9862
oz-for-oss[bot] wants to merge 1 commit intomasterfrom
oz-agent/implement-issue-9747

Conversation

@oz-for-oss
Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot commented May 1, 2026

Closes #9747

Summary

  • Parse pasted HTML tables into structured Notebook table blocks instead of flattening cells into plain text.
  • Route plain-text Notebook Markdown paste through the GFM table parser when Markdown table rendering is enabled.
  • Add regression coverage for HTML table parsing with alignment and inline formatting.

Validation

  • cargo fmt --manifest-path /workspace/warp/Cargo.toml --all
  • cargo test --manifest-path /workspace/warp/crates/markdown_parser/Cargo.toml html_parser
  • cargo check --manifest-path /workspace/warp/Cargo.toml -p warp --lib
  • cargo clippy --manifest-path /workspace/warp/crates/markdown_parser/Cargo.toml --all-targets --all-features --tests -- -D warnings
  • cargo clippy --manifest-path /workspace/warp/Cargo.toml -p warp --lib -- -D warnings

Notes

  • Attempted the broader all-target/all-feature Clippy command, but the sandbox lacks libclang, so minimp4-sys failed during bindgen setup before checking this diff.

Co-Authored-By: adiaz327 <adiaz327@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Markdown tables render with broken formatting in Notebooks despite rendering correctly in markdown file viewer

1 participant