Skip to main content

normalise

Function normalise 

Source
pub fn normalise(source: &str) -> Cow<'_, str>
Expand description

Puts each entry back on one line: a key YAML needed quoted or explicit is folded into the plain - key: value form the line grammar reads, and the second line of an explicit key becomes blank, so line numbers still match the source. read does this first, and so does the template parser in icedwright-check.