On Tuesday 04 November 2003 12:57 am, Gerard A.W. Vreeswijk wrote:
> I try YAML to fold newlines. Sometimes it does, sometimes it doesn't.
> What's happening here? Thanks.
Hi. Yeah, i just took a look at the folding code and it's pretty erratic=
Generally, strings are only folded if they contain newlines. I think=20
root-level strings are an exception to this rule.
I would think that :UseFold should attempt to fold anything that doesn't=20
qualify as a plain scalar. This way, :UseFold would catch anything that=20
would otherwise be double-quoted.
I'll come up with something to clear up string output in the Emitter in o=
to give you more straightforward control.