Pipe-defined multiline yaml string blocks used in headers/footers erroneously append a line break
SeemWind opened this issue · 3 comments
SeemWind commented
WiIIiam278 commented
I suspect this is actually a further-upstream issue, either with Exll's configlib - or possibly further up than that? Need to investigate; it's certainly reproducible (and strange)
WiIIiam278 commented
From Exll, who kindly took a look at the spec for us - If you don't want the final linebreak, you have to use |-
instead of |
, i.e.:
foo: |-
bar 1
bar 2
bar 3
See: https://yaml.org/spec/1.2.2/#example-chomping-final-line-break
Accordingly this issue has been changed to a docs issue - we should make this clear in our docs to eliminate potential confusion.
WiIIiam278 commented
Closed in #197