New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for less indented comments in block scalars #189

Merged
merged 1 commit into from Apr 27, 2018

Conversation

Projects
None yet
1 participant
@perlpunk
Collaborator

perlpunk commented Apr 19, 2018

See test/load-tests.t. After the first less indented comment line, all
following comments are also comments, even if they are more indented again.

Since this is an edge case I think this can go without making it optional.

foo: |
  a
  b
 # comment
  # also a comment

@perlpunk perlpunk force-pushed the fix-block-scalar-comments branch 2 times, most recently from c00a851 to 75b0e48 Apr 22, 2018

@perlpunk perlpunk force-pushed the fix-block-scalar-comments branch from 75b0e48 to f9edc91 Apr 27, 2018

@perlpunk perlpunk merged commit f9edc91 into master Apr 27, 2018

1 check passed

continuous-integration/travis-ci/push The Travis CI build passed
Details

@perlpunk perlpunk deleted the fix-block-scalar-comments branch Apr 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment