Escape a string so it is safe to embed inside a YAML double-quoted scalar. Escapes backslashes, double-quotes, and replaces newlines with a single space (YAML double-quoted strings don't allow raw newlines).
Escape a string so it is safe to embed inside a YAML double-quoted scalar. Escapes backslashes, double-quotes, and replaces newlines with a single space (YAML double-quoted strings don't allow raw newlines).