Open LucianBuzzo opened 6 years ago
From my investigations I've found that js-yaml
safely handles leading spaces in multiline strings.
jsyaml.safeDump({ s: " \ntest"})
yields
s: |2-
test
Which correctly handles the indentation using the number hinting.
I'm not sure how the malformed yaml was inserted in the first place though
https://www.flowdock.com/app/rulemotion/resin-frontend/threads/DwDNDfVOctCNYdN9IHV6_S-1pLZ