From: noreply@... Date: 2006-11-22T15:19:26+09:00 Subject: [ ruby-Bugs-6819 ] YAML loses data Bugs item #6819, was opened at 2006-11-22 17:19 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=6819&group_id=426 Category: Standard Library Group: 1.8.5 Status: Open Resolution: None Priority: 3 Submitted By: Brendan Inglese (escii) Assigned to: Nobody (None) Summary: YAML loses data Initial Comment: I have come accross a bug in 1.8.5 ( and some fellow hackers in freenode/#ruby-lang replicated the same problem on 1.8.5 ) when serializing data with YAML, If there is a lone newline char, it will be removed in the process of dumping and loading. Here is a example of it in action: >> YAML::load(YAML::dump({:bug => "\n"})) => {:bug=>""} Hopefully the ruby-core team is able to replicate this problem and resolve it. Regards, Brendan Inglese. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=6819&group_id=426