Closed
Description
Symfony version(s) affected: 5.2
Description
If you parse valid yaml with a space after a quote you will receive the error:
Unexpected characters near " space after the quote" " at line 1 (near "test: "anything with a space after the quote" ").
How to reproduce
Parse any valid yaml that uses quotes for a value and has a space at the end.
Example:
\Symfony\Component\Yaml\Yaml::parse("test: 'a one line quote test' ");
Possible Solution
Additional context