You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The presence of a colon in a non-quoted string field causes issues.
The syntax highlighting mistakenly captures text beyond the first colon as part of the key.
The FM activity tab sometimes appears as if no frontmatter schema or content is defined, and sometimes it just outright crashes.
To Reproduce
An example of frontmatter which breaks the Frontmatter CMS plugin for vscode:
---
title: Introducing: Star Wars 13
caption: You thought they couldn't ruin Star Wars any further. You were wrong.
---
In this case the syntax highlighting shows "title: Introducing:" as the key instead of identifying "Introducing: " as part of the value
Expected behavior
Handle it without crashing. It can be worked around by putting double-quotes around the title (which is done automatically if you enter the colon in the FM activity tab instead of directly in the code editor).
Desktop (please complete the following information):
Describe the bug
The presence of a colon in a non-quoted string field causes issues.
To Reproduce
An example of frontmatter which breaks the Frontmatter CMS plugin for vscode:
In this case the syntax highlighting shows "title: Introducing:" as the key instead of identifying "Introducing: " as part of the value
Expected behavior
Handle it without crashing. It can be worked around by putting double-quotes around the title (which is done automatically if you enter the colon in the FM activity tab instead of directly in the code editor).
Desktop (please complete the following information):
I've reproduced it on the following:
The text was updated successfully, but these errors were encountered: