Actions
Bug #5109
closedYAML output has changed
Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2011-07-03 trunk 32372) [x86_64-linux]
Backport:
Description
Have no idea why, but I noticed that 1.9.3 is producing strange YAML output:
snippet:
- 35: ''
- 36: ! ' Then ''the result should be (((\d+))) on the screen'' do |n|'
- 37: ! ' @result.assert == n.to_i'
- 38: ! ' end'
- 39: end
Where as in 1.9.2 it comes out more like one would expect:
snippet:
- 35: ""
- 36: " Then 'the result should be (((\d+))) on the screen' do |n|"
- 37: " @result.assert == n.to_i"
- 38: " end"
- 39: end
Updated by tenderlovemaking (Aaron Patterson) over 12 years ago
- Status changed from Open to Third Party's Issue
libyaml detects if you have single or double quotes in your string. If it sees those characters, it will escape them and emit a tagged string literal.
Actions
Like0
Like0