Fix double space in daily note header template
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -323,7 +323,7 @@ class ObsidianService:
|
|||||||
note_path.parent.mkdir(parents=True, exist_ok=True)
|
note_path.parent.mkdir(parents=True, exist_ok=True)
|
||||||
content = (
|
content = (
|
||||||
f"---\nmodified: {datetime.now().isoformat()}\n---\n"
|
f"---\nmodified: {datetime.now().isoformat()}\n---\n"
|
||||||
f"### tasks\n\n- [ ] {task_text}\n\n### log\n"
|
f"### tasks\n\n- [ ] {task_text}\n\n### log\n"
|
||||||
)
|
)
|
||||||
with open(note_path, "w", encoding="utf-8") as f:
|
with open(note_path, "w", encoding="utf-8") as f:
|
||||||
f.write(content)
|
f.write(content)
|
||||||
|
|||||||
Reference in New Issue
Block a user