Hi @goccy!
Describe the bug
Since 1.15.18, the indentation has been striped from the []byte passed to UnmarshalYAML.
This may not be a bug.
To Reproduce
Expected behavior
I don't know whether the behavior of 1.15.17 is correct or the behavior of 1.15.18~ is correct.
Screenshots
None
Version Variables
- Go version: 1.24
- go-yaml's Version: v1.15.8~
Additional context
Please tell me which behavior is correct.