fix(win32): handle CRLF line endings in markdown frontmatter parsing (#14886)

This commit is contained in:
Luke Parker
2026-02-24 20:33:22 +10:00
committed by GitHub
parent 3201a7d34b
commit 659068942e
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ export namespace ConfigMarkdown {
if (!match) return content
const frontmatter = match[1]
const lines = frontmatter.split("\n")
const lines = frontmatter.split(/\r?\n/)
const result: string[] = []
for (const line of lines) {