Regression in version 2.2.1 and 2.2.2
dfaust opened this issue · comments
Hi. The following document can be parsed with version 2.2.0 and below, but not with version 2.2.1 or 2.2.2.
indoc! {r#"
{
dirs: [
]
}
"#},
Produces the string:
{\n dirs: [\n ]\n}
Which causes the error:
Error: ExpectedMap at 3:5 at "]\n}
I have a bunch of other cases in my test suite, so there seems to be a general issue (maybe because of the line breaks?).
As I don't have your full test case, I can't be sure. Can you please check it's solved with PR #21 ?
Yes, it works.
Thanks for this very quick fix!
Fix released in version 2.2.3