We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Strings like -.. are recognized as YAML closing delimiter.
-..
No response
This will be recognized as YAML frontmatter:
--- key: value -..
Strings like -.. are not recognized as YAML closing delimiter.
v1.87
The regex for YAML closing delimiter is to permissive, allowing false positives like e.g., -... More correct regex would be:
const LAST_DELIMITER_MATCH = /^([-]{3}|[.]{3})\s*?$/g;
The text was updated successfully, but these errors were encountered:
db7eb97
No branches or pull requests
Describe the bug
Strings like
-..
are recognized as YAML closing delimiter.Small Reproducible Example
No response
Steps to Reproduce the Bug or Issue
This will be recognized as YAML frontmatter:
Expected behavior
Strings like
-..
are not recognized as YAML closing delimiter.Screenshots or Videos
No response
Operating System Version
Visual Studio Code Version
v1.87
Additional context
The regex for YAML closing delimiter is to permissive, allowing false positives like e.g.,
-..
. More correct regex would be:The text was updated successfully, but these errors were encountered: