8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Doing this:
Yaml::dump( ["text" => " leading space in first line\nno leading space in last line\n"], 2, 4, Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK );
Will produce this:
text: | leading space in first line no leading space in last line
Which is invalid YAML because when the first line has leading spaces it needs a block indentation indicator like this:
text: |4 leading space in first line no leading space in last line