Skip to content

Commit 9f5ad06

Browse files
fix(migration): add quote to title
1 parent 9a7331b commit 9f5ad06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrate/migrate-bot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ async function writeMDXFile(filePath, content, title) {
215215
const dir = path.dirname(filePath);
216216
await fs.mkdir(dir, { recursive: true });
217217
const frontmatter = `---
218-
title: ${title}
218+
title: "${title}"
219219
description: Auto‑generated from cppreference
220220
---\n\n`;
221221
await fs.writeFile(filePath, frontmatter + content, "utf8");

0 commit comments

Comments
 (0)