mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-02 14:56:14 +02:00
[Export] remove extra spaces from Markdown, YAML exports
This commit is contained in:
parent
14ef6e3dcb
commit
b84bc9b856
2 changed files with 4 additions and 4 deletions
|
@ -57,7 +57,7 @@ class MarkdownExporter(TextExporter):
|
||||||
date=date_str,
|
date=date_str,
|
||||||
title=entry.title,
|
title=entry.title,
|
||||||
body=newbody,
|
body=newbody,
|
||||||
space=""
|
space="\n"
|
||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
@ -93,7 +93,7 @@ class YAMLExporter(TextExporter):
|
||||||
tags=', '.join([tag[1:] for tag in entry.tags]),
|
tags=', '.join([tag[1:] for tag in entry.tags]),
|
||||||
dayone=dayone_attributes,
|
dayone=dayone_attributes,
|
||||||
body=newbody,
|
body=newbody,
|
||||||
space=""
|
space="\n"
|
||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue