Cannot decode publiccode.yml
I'm interested in metadata provided by the publiccode.yml
file and while trying to decode the file in PHP, I've received this error form Symfony YAML library:
Cannot decode publiccode.yml. Message: A colon cannot be used in an unquoted mapping value at line 52 (near "shortDescription: IG BvC: Ergebnisse der Arbeitsgruppe in PDF-Form").
The problem is that the string IG BvC: Ergebnisse der Arbeitsgruppe in PDF-Form
should be enclosed in simple or double quotes. A unquoted mapping value cannot contain a colon followed by a space as this interferes with the YAML syntax elements.
This also confirmed by this YAML validator https://yaml-online-parser.appspot.com/?yaml=foo%3A%0A++bar%3A+baz%3A+whatever&type=json
Currently (lines 52 and 80)
shortDescription: IG BvC: Ergebnisse der Arbeitsgruppe in PDF-Form
should be
shortDescription: 'IG BvC: Ergebnisse der Arbeitsgruppe in PDF-Form'
I have no permissions to create a merge request. Thank you in advance for fixing it