Right now the platform doesn't allow a user to post a note if it doesn't have any content, that means blank posts aren't allowed. In the case a person enters just blank spaces the note can be saved. This happens for comments as well.
Related to: #223
Solution
Use a trim function before saving the post to make sure it has content.
Description
Right now the platform doesn't allow a user to post a note if it doesn't have any content, that means blank posts aren't allowed. In the case a person enters just blank spaces the note can be saved. This happens for comments as well. Related to: #223
Solution
Use a trim function before saving the post to make sure it has content.
Steps to reproduce
Evidence
https://github.com/user-attachments/assets/48b8eda8-ccd3-4b07-847e-94866ad9b9f9