Repository navigation
Fix Markdown parsing edge cases - #77
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughMarkdown rendering now selects collision-free code delimiters and fence lengths, formats image titles outside space-containing destinations, and preserves table cells beyond header width. Regression tests cover these behaviors plus malformed and misnested HTML cases. ChangesMarkdown rendering correctness
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/element_handler/code.rs`:
- Around line 128-132: Update the preformatted inline-code handling around the
delimiter/content construction to also add padding when content both starts and
ends with a space, while preserving the existing backtick-boundary behavior.
Ensure all-space content and other content retain their current handling, and
add a regression test covering `<code> foo </code>` so reparsing preserves both
boundary spaces.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: d3d8b1e8-5398-45a7-9f4e-2eb4a1555edc
📒 Files selected for processing (6)
src/element_handler/code.rssrc/element_handler/img.rssrc/element_handler/table.rstests/basic_tests.rstests/code_tests.rstests/table_tests.rs
Summary by CodeRabbit
Bug Fixes
Tests