- changed status to open
Backtick (`) and @ at start of inner line wrongly marked as error inside plain literal block scalar
Issue #354
resolved
E.g:
foo: |
This is
`a literal
bar: |
And
@this
The ` and @ are marked as errors:
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)
-
-
reporter - changed status to resolved
Bah, sorry, I meant to file this against https://github.com/vermut/intellij-snakeyaml (the IntelliJ SnakeYAML plugin), but filed it here by mistake. My bad!
-
reporter Bug now correctly filed here instead.
- Log in to comment
As you can see in the tests SnakeYAML works as required. (https://bitbucket.org/asomov/snakeyaml/commits/4e357e04fb3a114e51d64a5ea69a1201f2d511a8)
Can you please provide a test to show that SnakeYAML should be fixed ?