You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks like the same class of Windows newline/BOM parsing issue.
There is a related open PR (#1890) that introduces a normalizeContent() helper which strips UTF-8 BOM and normalizes CRLF/CR → LF before parsing. The goal there is to centralize newline normalization so different parsers don’t each implement their own handling.
If it makes sense, this markdown frontmatter parsing could potentially reuse that helper instead of adding another normalization step in the CLI parser. That would keep newline/BOM handling consistent across the repo and avoid duplicated logic.
@Aayushyaash Thanks for the suggestion. I updated this PR to reuse the shared normalizeContent() helper from core utils (instead of parser-local normalization), so BOM/newline handling stays centralized.\n\nAlso added coverage for:\n- core normalizeContent() (BOM, CRLF, CR-only, mixed line endings)\n- CLI markdown frontmatter parsing with CRLF/BOM/CR-only content\n\nLatest commit: 05f2224.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
Fixes #2053