Issue: Extra characters are being added to the frontmatter when updating values in the UI #418

Closed
opened 2026-10-05 02:46:08 +02:00 by adam · 5 comments
Owner

Describe the bug

Extra characters are inserted.

https://user-images.githubusercontent.com/5633938/223826915-5b7e6af3-747b-4e63-80e4-b519e2a9bd48.mp4

To Reproduce
Steps to reproduce the behavior:

  1. Use Astro
  2. Edit a value
  3. Note extra characters can appear in the frontmatter
**Describe the bug** Extra characters are inserted. https://user-images.githubusercontent.com/5633938/223826915-5b7e6af3-747b-4e63-80e4-b519e2a9bd48.mp4 **To Reproduce** Steps to reproduce the behavior: 1. Use Astro 2. Edit a value 3. Note extra characters can appear in the frontmatter <!-- github-sync-id:1615820280 -->
adam closed this issue 2026-10-05 02:46:08 +02:00
Author
Owner

Thanks @lloydjatkinson, for reporting this. I will have to check what might be going on here.

Thanks @lloydjatkinson, for reporting this. I will have to check what might be going on here. <!-- github-comment-id:1467800104 -->
Author
Owner

I have been looking into it but have been unable to reproduce it on Windows and macOS. Would you be able to share a test project in that I can reproduce it?

Can you also test out the beta version to see if you have the issue there as well?

I have been looking into it but have been unable to reproduce it on Windows and macOS. Would you be able to share a test project in that I can reproduce it? Can you also test out the beta version to see if you have the issue there as well? <!-- github-comment-id:1467881753 -->
Author
Owner

I have been able to reproduce it in Windows. You seem to get an extra carriage return at the end for some reason.

I have been able to reproduce it in Windows. You seem to get an extra carriage return at the end for some reason. <!-- github-comment-id:1473689426 -->
Author
Owner

In the latest beta, this should have been fixed.

In the latest beta, this should have been fixed. <!-- github-comment-id:1473692138 -->
Author
Owner

@lloydjatkinson have you been able to give the beta a try?

@lloydjatkinson have you been able to give the beta a try? <!-- github-comment-id:1483319020 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#418