-
-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't trim all space characters in SequenceNode.blockStyleString (#361)
* Don't trim all space characters in SequenceNode.blockStyleString This fixes #356. The code would have removed more spaces than it added. A better solution long-term would probably be to add a specialized method to StringNode to not add the prefix in the first place. * Add issue 356 test case for block with first empty line The indentation level in a block scalar is determined by the first non-empty line.
- Loading branch information
1 parent
7a084f4
commit 3ca6a75
Showing
2 changed files
with
43 additions
and
1 deletion.
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