Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
option to dump multi line strings as scalar blocks
- Loading branch information
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/Symfony/Component/Yaml/Tests/Fixtures/multiple_lines_as_literal_block.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
data: | ||
single_line: 'foo bar baz' | ||
multi_line: | | ||
foo | ||
line with trailing spaces: | ||
bar | ||
integer like line: | ||
123456789 | ||
empty line: | ||
baz | ||
nested_inlined_multi_line_string: | ||
inlined_multi_line: "foo\nbar\r\nempty line:\n\nbaz" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters