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
When hovering the YAML attribute with a description, some characters like underscore are being escaped with a "" whenever the description has an indentation.
Expected Behavior
The expected behaviour would be to display "my_var2" and "my_var3" instead of "my_var2" and "my_var3"
Current Behavior
Steps to Reproduce
Copy/paste the schema and YAML sample below
Hover the firstName attribute in VSCode
**Schema: (issue.json) **
{ "$id": "https://example.com/person.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "Person", "type": "object", "properties": { "firstName": { "type": "string", "description": "At the top level my_var is shown properly.\n\n Issue with my_var2\n here my_var3" } } }
YAML:
`# yaml-language-server: $schema=./issue.json
firstName:
`
Environment
Windows
Mac
Linux
other (please specify)
The text was updated successfully, but these errors were encountered:
Describe the bug
When hovering the YAML attribute with a description, some characters like underscore are being escaped with a "" whenever the description has an indentation.
Expected Behavior
The expected behaviour would be to display "my_var2" and "my_var3" instead of "my_var2" and "my_var3"
Current Behavior
Steps to Reproduce
**Schema: (issue.json) **
{ "$id": "https://example.com/person.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "Person", "type": "object", "properties": { "firstName": { "type": "string", "description": "At the top level my_var is shown properly.\n\n Issue with my_var2\n here my_var3" } } }
YAML:
`# yaml-language-server: $schema=./issue.json
firstName:
`
Environment
The text was updated successfully, but these errors were encountered: