online-yaml-parser icon indicating copy to clipboard operation
online-yaml-parser copied to clipboard

doens't tolerate a space before a block style indicator

Open joachim-n opened this issue 5 years ago • 1 comments

It crashes on this:

- just: write some
- yaml: |
  some 
  block
  text

but not on this. with the space removed before the '|':

- just: write some
- yaml:|
  some 
  block
  text

The example on https://yaml-multiline.info/ has a space in it, so it looks like it should be allowed.

joachim-n avatar May 15 '19 19:05 joachim-n

Your first example is probably not what you think it is. I think you rather meant:

- just: write some
- yaml: |
    some
    block
    text

perlpunk avatar May 20 '24 19:05 perlpunk