Bugs item #8026, was opened at 2007-01-20 18:44
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=8026&group_id=426

Category: Standard Library
Group: 1.9.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Vincent Fourmond (fourmond)
Assigned to: Nobody (None)
Summary: YAML fails to parse its own input

Initial Comment:
In certain cases, when strings contains weird amount of whitespace, YAML fails to parse it's own output. The attached file, when run (1.8.5 and current trunk), produces the following error:

#<ArgumentError: syntax error on line 3, col 4: `    .'>

It seems excessive amount of whitespace confuses the parser. Is there another way to output long strings in a safe way ? The attached file also contains two really close examples that don't trigger the syntax error.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=8026&group_id=426