Commit 594a95a
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments