mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
[YAML Exporter] fix starred spelling (#907)
* fix starred spelling c.f. #835
This commit is contained in:
parent
7016c6925b
commit
65045cc332
2 changed files with 3 additions and 3 deletions
|
@ -129,7 +129,7 @@ Feature: Exporting a Journal
|
|||
"""
|
||||
title: I have an @idea:
|
||||
date: 2013-04-09 15:39
|
||||
stared: False
|
||||
starred: False
|
||||
tags: idea, journal
|
||||
|
||||
(1) write a command line @journal software
|
||||
|
|
|
@ -104,10 +104,10 @@ class YAMLExporter(TextExporter):
|
|||
# source directory is entry.journal.config['journal']
|
||||
# output directory is...?
|
||||
|
||||
return "title: {title}\ndate: {date}\nstared: {stared}\ntags: {tags}\n{dayone} {body} {space}".format(
|
||||
return "title: {title}\ndate: {date}\nstarred: {starred}\ntags: {tags}\n{dayone} {body} {space}".format(
|
||||
date=date_str,
|
||||
title=entry.title,
|
||||
stared=entry.starred,
|
||||
starred=entry.starred,
|
||||
tags=", ".join([tag[1:] for tag in entry.tags]),
|
||||
dayone=dayone_attributes,
|
||||
body=newbody,
|
||||
|
|
Loading…
Add table
Reference in a new issue