Skip to content

v2.3.3 - ADF Fence Block Processing Fixes

Choose a tag to compare

@JeromeErasmus JeromeErasmus released this 14 Dec 02:45
· 7 commits to main since this release
6d7c016

🐛 Bug Fixes & Enhancements

Fixed

  • Expand Block Validation: Fixed validation logic to detect expand blocks at any nesting level, not just top-level content
  • Social Element Formatting: Fixed social elements (mentions, emojis, status, dates) to properly inherit formatting marks (bold, italic, etc.)
  • Table Cell Structure: Fixed test expectations for table cell content structure when containing social elements
  • ADF Fence Block Processing: Completed all remaining items from the fence block processing fix plan
  • Test Suite: All 76 test suites now pass with 1,218 tests passing and comprehensive validation at 18/18 items ✅

Enhanced

  • Mark Application: Enhanced wrapWithMark method to apply formatting marks to social element nodes in addition to text nodes
  • Recursive Validation: Added recursive search for ADF elements in nested content structures
  • Test Coverage: Achieved 100% success rate for new features validation (25/25 features)

🎯 Impact

This release completes the ADF fence block processing improvements and resolves all remaining test failures. The parser now has:

  • ✅ Perfect Test Coverage: 76/76 test suites passing
  • ✅ Complete Validation: 18/18 validation checklist items
  • ✅ Full Feature Support: 100% (25/25) new features working
  • ✅ Robust Processing: Proper handling of complex nested ADF structures

📦 Installation

npm install extended-markdown-adf-parser@2.3.3
# or
yarn add extended-markdown-adf-parser@2.3.3