mirror of
https://github.com/yaml/libyaml
synced 2026-06-08 18:28:36 +00:00
Revert removing of open_ended after top level plain scalar
See also issue #60
Revert "This code is not needed and breaks tests"
This reverts commit 56400d976a.
This commit is contained in:
@@ -1946,6 +1946,10 @@ yaml_emitter_write_plain_scalar(yaml_emitter_t *emitter,
|
||||
|
||||
emitter->whitespace = 0;
|
||||
emitter->indention = 0;
|
||||
if (emitter->root_context)
|
||||
{
|
||||
emitter->open_ended = 1;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user