Repository navigation
fix(parser): accept longer closing fences during table extraction - #20028
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe Markdown parser now requires matching fence marker types and supports longer closing fences. Parameterized tests cover backtick and tilde fences followed by pipe or HTML tables. ChangesMarkdown fence matching
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The parser now correctly preserves fenced content and extracts subsequent Markdown or HTML tables; no actionable merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
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. A rabbit checks each fence with care Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #20028 +/- ##
=======================================
Coverage 38.07% 38.07%
=======================================
Files 54 54
Lines 15500 15500
Branches 125 125
=======================================
Hits 5902 5902
Misses 9570 9570
Partials 28 28 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
LGTM |
Summary
Accept closing code fences that use the same character and are longer than the opening fence. Previously, table extraction treated the remaining document as code and skipped real tables.
Validation
This follows the CommonMark closing-fence rule: https://spec.commonmark.org/0.31.2/#fenced-code-blocks
No public issue has been filed. Investigation, code, and tests used AI assistance.