Skip to content

(fix)capture: fill-template preserve whitespace content#2117

Merged
jethrokuan merged 2 commits intomasterfrom
fix/capture-newlines
Mar 10, 2022
Merged

(fix)capture: fill-template preserve whitespace content#2117
jethrokuan merged 2 commits intomasterfrom
fix/capture-newlines

Conversation

@jethrokuan
Copy link
Copy Markdown
Member

Motivation for this change

Preserve the whitespace content given in the capture template, by
caching it and then appending it to the output template. For
Org-capture's purposes, we need to separately ensure that a newline is
present. Adds tests to the various helper functions to illustrate changes.

Addresses #2115

Preserve the whitespace content given in the capture template, by
caching it and then appending it to the output template. For
Org-capture's purposes, we need to separately ensure that a newline is
present. Adds tests to the various helper functions to illustrate changes.

Addresses #2115
@jethrokuan jethrokuan merged commit f6950a9 into master Mar 10, 2022
@jethrokuan jethrokuan deleted the fix/capture-newlines branch March 10, 2022 17:46
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant