Backtick (`) and @ at start of inner line wrongly marked as error inside plain literal block scalar

Issue #354 resolved
Elvis Stansvik created an issue

E.g:

foo: |
  This is
  `a literal

bar: |
  And
  @this

The ` and @ are marked as errors:

wrong-error.png

when they are in fact allowed. They are only disallowed if they start the plain scalar (see Example 5.10 in the 1.1 spec), but not when used inside the scalar like this.

This is with PyCharm Community Edition 2016.3 and SnakeYAML 1.17.0.

Comments (3)

  1. Log in to comment