Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-Naming/Re-writing front matter is missing closing bracket #19

Closed
svnsbck opened this issue Jun 22, 2022 · 4 comments
Closed

Re-Naming/Re-writing front matter is missing closing bracket #19

svnsbck opened this issue Jun 22, 2022 · 4 comments

Comments

@svnsbck
Copy link

svnsbck commented Jun 22, 2022

Hi Prot! I just realized that when renaming a file and chosing the re-write the front-matter the date is missing the closing "]" bracket in the updated front matter. I haven tested this on all file types, but it happens at the least with org-files and *org timestamp". I thought you might want to know.

@protesilaos
Copy link
Owner

Thank you Sven! Will look into it right away.

protesilaos added a commit that referenced this issue Jun 22, 2022
This should solve the bug reported by Sven Seebeck where dates in the
org-timestamp style would lose their closing bracket after a rename
operation altered their front matter.

See issue 19 on the GitHub mirror:
<#19>.
@protesilaos
Copy link
Owner

Just pushed the change. I think it fixes the problem without causing issues with other date formats.

@svnsbck
Copy link
Author

svnsbck commented Jun 22, 2022

Great! Now it works!

@protesilaos
Copy link
Owner

Thanks for the feedback! Closing now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants