-
-
Notifications
You must be signed in to change notification settings - Fork 142
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Do parsing the text then format it.
let doc = YAML.parseDocument(text);
console.log(YAML.stringify(doc));To Reproduce
input text:
a: 1
#a: 1
# b: 2got result:
a: 1Expected behaviour
a: 1
#a: 1
# b: 2
Versions (please complete the following information):
- Environment: Node.js v22.6.0
yaml: 2.5.1
Additional context
None
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working