publiccode-editor
publiccode-editor copied to clipboard
The Validate button and process adds empty lines in my publiccode.yml longDescription field
Subject of the issue
With publiccode.yml editor v. 4.3.1, such the online one: https://publiccode-editor.developers.italia.it/ After I upload a valid pubblicode.yml file with nicely formatted longDescription field, once I hit the Validate process the Successful response changes the formating of the longDescription field adding 1 blank / empty line for each line of it ... thus altering (in a bad way) the original format and content of that field. I need to manually correct it in the form before downloading again.
Steps to reproduce
Simply try the Validate process with the valid attached publiccode.yml of mine:
- upload it;
- hit Validate;
publiccode_eu_oss_catalogue_latest_version.yml.zip
Expected behaviour
The Validate process shouldn't change / alter the original publiccode.yml content and formatting
Actual behaviour
publiccode_eu_oss_catalogue_latest_version.yml.zip
... instead now the longDescription field is being altered (in the right bar) with white / empty code lines ...