Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Validate button and process adds empty lines in my publiccode.yml longDescription field #291

Open
ItaloMairo opened this issue Dec 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ItaloMairo
Copy link

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 ...

Screenshot 2023-12-21 at 12 48 29

Screenshot 2023-12-21 at 12 50 43

@bfabio bfabio added the bug Something isn't working label Dec 29, 2023
@bfabio
Copy link
Member

bfabio commented Dec 29, 2023

Thanks @ItaloMairo, confirming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants