Long Map keys bug
perryqh opened this issue · comments
Perry Hertler commented
Is there a max line length set somewhere? I'm noticing that if a map key
is greater than 128 characters, unexpected characters are prepended and appended to the key.
Here's a failing test: https://github.com/perryqh/serde-yaml/commit/401a1f246bd9835239056479ed7f65d815980a15.
I'm happy to fix this if you point me in the right direction.
David Tolnay commented
I think that is probably intended behavior. That is valid syntax for a map in YAML.
Perry Hertler commented
Is the prepended ?
character valid YAML?
David Tolnay commented
Yes.