Skip to content

release-20260226#223

Merged
cannarocks merged 2 commits intomainfrom
develop
Feb 26, 2026
Merged

release-20260226#223
cannarocks merged 2 commits intomainfrom
develop

Conversation

@Kariamos
Copy link
Contributor

This pull request introduces a minor update to the FormProvider component to improve how the campaign goal is handled. The main change is that any HTML tags are stripped from the goal field when initializing form values, ensuring only plain text is used.

Form value sanitization:

  • Added a stripHtml utility function to remove HTML tags from strings, and updated the initialization of the goal field in the form to use this function, ensuring that only plain text (without HTML markup) is set for the goal value. [1] [2]

@cannarocks cannarocks merged commit 3cfddba into main Feb 26, 2026
1 check passed
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.

2 participants