Skip to content

[fix]Support CRLF in frontmatter parsing#1329

Merged
JoviDeCroock merged 1 commit intopreactjs:masterfrom
SisyphusZheng:master
Sep 3, 2025
Merged

[fix]Support CRLF in frontmatter parsing#1329
JoviDeCroock merged 1 commit intopreactjs:masterfrom
SisyphusZheng:master

Conversation

@SisyphusZheng
Copy link
Contributor

@SisyphusZheng SisyphusZheng commented Sep 3, 2025

Updated the frontmatter regex to accept both LF and CRLF line endings, improving compatibility with Windows environments.

…, improving compatibility with Windows environments.
@SisyphusZheng SisyphusZheng changed the title Updated the frontmatter regex to accept both LF and CRLF line endings… [fix]Updated the frontmatter regex to accept both LF and CRLF line endings… Sep 3, 2025
@SisyphusZheng SisyphusZheng changed the title [fix]Updated the frontmatter regex to accept both LF and CRLF line endings… [fix]Support CRLF in frontmatter parsing Sep 3, 2025
@JoviDeCroock JoviDeCroock merged commit ccde54f into preactjs:master Sep 3, 2025
5 checks passed
@rschristian
Copy link
Member

Doesn't matter too much, but shouldn't all line endings be lf?

end_of_line = lf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants