intellij-snakeyaml icon indicating copy to clipboard operation
intellij-snakeyaml copied to clipboard

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

Open estan opened this issue 8 years ago • 0 comments

For example:

foo: |
  This is
  `a literal

bar: |
  And
  @this

The ` and @ are marked as errors

wrong-error

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 plugin 1.17.0.

SnakeYAML itself behaves correctly on this, so the problem must be within the plugin.

estan avatar Dec 14 '16 17:12 estan