MergeYaml
edge case: keeps comment at the end of the doc after appending an entry
#5135
Labels
bug
Something isn't working
See the test below:
This fails because
# comment
is in DocumentEnd node rather than the yaml block. Not sure what to propose... I'd probably try to keep the inline comment as part of the entry... Or perhaps have a special case for the comment at the end of the document if this would be a less intrusive fix.The text was updated successfully, but these errors were encountered: