- changed status to open
Growing file with |+ syntax
Issue #520
resolved
when saving and loading a file like this:
# YAML load and save bug with keep block chomping indicator
example:
description: |+
These lines have a carrage return after them.
And the carrage return will be duplicated with each save if the
block chomping indicator + is used. ("keep": keep the line feed, keep trailing blank lines.)
successfully-loaded: test
The empty line after the text related to |+
is duplicated every load and save.
Comments (5)
-
-
-
assigned issue to
- marked as minor
-
assigned issue to
-
@Wolf2323 I added the test and look perfect: https://bitbucket.org/snakeyaml/snakeyaml/src/master/src/test/java/org/yaml/snakeyaml/issues/issue520/ChompingTest.java
Can you please provide a failing test ?
-
reporter -
- changed status to resolved
- Log in to comment