Skip to content

fix: Removing newlines at start and end of messages#2864

Open
LilyLavenderPony wants to merge 1 commit into
cinnyapp:devfrom
LilyLavenderPony:fixing-trailing-newlines
Open

fix: Removing newlines at start and end of messages#2864
LilyLavenderPony wants to merge 1 commit into
cinnyapp:devfrom
LilyLavenderPony:fixing-trailing-newlines

Conversation

@LilyLavenderPony
Copy link
Copy Markdown

Description

Fixes #2858

Implementation

Updates regex-pattern of "trimCustomHtml" to remove all newline-tags at the start and the end of a message before sending.

Test results

  • Newlines at the start and end are removed
  • It is not possible to add newlines at the start or end through the message editor

Tested on

  • Chrome
  • Firefox

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.

Newlines aren't properly trimmed

2 participants