mirror of
https://github.com/shynkro/watchlog-obsidian-plugin.git
synced 2026-07-22 06:53:16 +00:00
Merge pull request #9 from Shynkro/public-release
fix: sanitize forbidden characters in frontmatter title property
This commit is contained in:
commit
36c7c6438e
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue