YAMLException when drive contains a new line character in its description
See original GitHub issueFor example: description: "foo\nbar"
This scenario results in:
YAMLException: unexpected end of the stream within a double quoted scalar at line 3, column 1:
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Check if string contains \n Java - Stack Overflow
If the string was constructed in the same program, I would recommend using this: String newline = System.getProperty("line.separator"); ...
Read more >Read line from file, keeping newline characters - MATLAB fgets
This MATLAB function reads the next line of the specified file, including the newline characters.
Read more >New line character for Descriptive fields in CSV Import
Hi, I am trying to figure out, what character has to be used in a narrative field during a CSV import, so that...
Read more >Replace a string containing newline characters
So I have to replace a string both with special characters such as " and < and with a newline character. After searching...
Read more >How to identify /n from a string and set its value in next line
HI All, I have a string which is supposed to be identified with /n for next line and set the value in Incident...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See also https://github.com/resin-io-modules/drivelist/pull/156 and https://github.com/resin-io-modules/drivelist/pull/161
I guess the fact that this hasn’t been fixed yet, illustrates exactly how often we come across drive-names that contain embedded newline characters 😉
It was already fixed on Linux by https://github.com/resin-io-modules/drivelist/pull/156 😉