Skip to content

Commit 594a95a

Browse files
committed
fix: keep YAML frontmatter description unescaped
The previous regex over-applied: it escaped A* to A\* inside the description value of the YAML frontmatter, which js-yaml rejects as 'unknown escape sequence' and which broke the Astro site build (and the Netlify deploy preview). scripts/make.py's metaext strips frontmatter before md2tex runs, so the asterisk in description never reaches the markdown pipeline and doesn't need escaping. Body asterisks remain escaped.
1 parent f9a3929 commit 594a95a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/blog/2026-02-13/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "路径规划算法优化"
33
author: "杨岢瑞"
44
date: "Feb 13, 2026"
5-
description: "路径规划算法优化,从基础 A\*到 JPS 前沿实践"
5+
description: "路径规划算法优化,从基础 A*到 JPS 前沿实践"
66
latex: true
77
pdf: true
88
---

0 commit comments

Comments
 (0)