diff options
Diffstat (limited to 'node_modules/yaml/browser/dist/parse')
| -rw-r--r-- | node_modules/yaml/browser/dist/parse/parser.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/node_modules/yaml/browser/dist/parse/parser.js b/node_modules/yaml/browser/dist/parse/parser.js index d75e1ee4..65da03d6 100644 --- a/node_modules/yaml/browser/dist/parse/parser.js +++ b/node_modules/yaml/browser/dist/parse/parser.js @@ -513,7 +513,10 @@ class Parser { return; } if (this.indent >= map.indent) { - const atNextItem = !this.onKeyLine && this.indent === map.indent && it.sep; + const atNextItem = !this.onKeyLine && + this.indent === map.indent && + it.sep && + this.type !== 'seq-item-ind'; // For empty nodes, assign newline-separated not indented empty tokens to following node let start = []; if (atNextItem && it.sep && !it.value) { |
