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

Colon in | text block #19

Closed
aeschli opened this issue Feb 21, 2017 · 2 comments
Closed

Colon in | text block #19

aeschli opened this issue Feb 21, 2017 · 2 comments

Comments

@aeschli
Copy link

aeschli commented Feb 21, 2017

From @almays on February 20, 2017 21:28

I have yaml files with texts.
Texts can be multiline, include markdown. I screen out the texts with | thing.

En: |
  Some text: continuation of the text. 

In this case Some text is colorized as a key. But actually due to | it is going to be parsed as part of the text.

Yaml2json converter, for example, interpretes this syntax as expected:

{
  "En": "Some text: continuation of the text. \n"
}

But yaml colorizer mistakenly takes : in this case as key/value delimiter.

Copied from original issue: microsoft/vscode#20959

@saschanaz
Copy link

I think this is the same issue with #17, no?

@aeschli
Copy link
Author

aeschli commented Aug 10, 2017

Yes, looks like a duplicate of #17

@aeschli aeschli closed this as completed Aug 10, 2017
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