yaml-rust icon indicating copy to clipboard operation
yaml-rust copied to clipboard

tabs are not allowed as the first character of a block scalar

Open ahl opened this issue 4 years ago • 0 comments

This results in an error:

    let content = "
    foo: |
      \tthis line starts with a tab
    ";
    let y = yaml_rust::YamlLoader::load_from_str(&content);
    println!("{:#?}", y);

Other yaml parsers seem to parse this successfully

ahl avatar Sep 17 '21 23:09 ahl