Open davidzchen opened 2 days ago
Not sure. Can you take a look at the Literal spec? It's possible it adds a new line in that example.
Here is the section of the spec regarding Literal Style: https://yaml.org/spec/1.2.2/#812-literal-style
I am not familiar with the syntax and format of the spec, but it does mention "final line breaks and trailing empty lines are chomped."
The following should have the same value:
However, when parsed, the latter value has a
'\n'
appended to the end of it:@jbeder Is this a bug?