Merge pull request #9 from Shynkro/public-release

fix: sanitize forbidden characters in frontmatter title property
This commit is contained in:
BogdanS 2026-05-12 23:57:41 +01:00 committed by GitHub
commit 36c7c6438e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -622,7 +622,7 @@ export class DataManager {
private buildMarkdownContent(title: WatchLogTitle, progress: number): string {
return `---
title: "${title.title.replace(/"/g, '\\"')}"
title: ${title.title.replace(/[*"\\/<>:|?]/g, '-')}
type: ${title.type}
status: ${title.status}
priority: ${title.priority}