You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a block scalar was ended by a document end marker, it was
considered an error because of the unexpected indentation (the
indentation was less than the body of the block scalar).
The problem was that this error condition was verified before checking
this was a document or directives end marker.
Simply swapping the two code blocks fixes the issue.
Fixes#41.
When a block scalar was ended by a document end marker, it was
considered an error because of the unexpected indentation (the
indentation was less than the body of the block scalar).
The problem was that this error condition was verified before checking
this was a document or directives end marker.
Simply swapping the two code blocks fixes the issue.
Fixes#41.
This brings several bug fixes, including one which is a change of
behavior:
* @slezakattack implemented key deduplication in the construction of
mappings, both when using proplists and maps (#39, #40).
* Report a parsing error if a block collection is unfinished when the
end of the document is reached; e.g. when a `]` or `}` character is
missing (#43, #50).
* Fix parsing of indented block scalar when they are finished by a
document or directives end marker (#41, #51).
@kianmeng also fixed several typos (#47).
The Rebar configuration was updated to work with recent versions. While
working on that, the CI was switched from Travis to GitHub Actions.
Thank you to all contributors for their reports & patches!
Hi
I found an exception raised when parsing the block scalar style with indentation.
(yamerl 0.8.0 using from Elixir)
The text was updated successfully, but these errors were encountered: