Fixed regex pattern overlap where Pattern 3 with [a-z-]* (zero or more) would always match code fences without language specifiers, making Pattern 4 unreachable. Changed Pattern 3 from [a-z-]* to [a-z-]+ (one or more) so: - Pattern 3 matches code fences WITH language specifiers - Pattern 4 matches code fences WITHOUT language specifiers This fix allows lines 253-255 to be properly covered by tests. Coverage improvement: - frontmatter-utils.ts: 96.55% -> 99.13% - Lines 253-255 now covered Test changes: - Added test for Pattern 4 code path - Removed failing decompression test (part of Task 6)
27 KiB
27 KiB