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

Checks for multiline values in metadata.txt #507

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Xpirix
Copy link
Collaborator

@Xpirix Xpirix commented Jan 20, 2025

Proposed fix for #505

When an attribute has a multiline value but is commented out, the parser will append the value of the attribute to the previous attribute which is unexpected. To address this, we should make sure that only the allowed attributes can contain multiline values which are description, about and changelog.

When another attribute contains a multiline value, the form will raise the following error:

image

IMPORTANT NOTE: We should probably advertise this in advance as this could disturb the upload process, especially for an existing plugin that already has this kind of issue.

@Xpirix Xpirix requested review from timlinux and dimasciput January 20, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant