Skip to content

Commit

Permalink
Merge pull request #21821 from hoangzinh/df/20874
Browse files Browse the repository at this point in the history
Fix text cannot be wrapped in "<{space} text {space}>"  in welcome message in new room
  • Loading branch information
iwiznia authored Jun 29, 2023
2 parents c83b2d1 + dd55f7d commit 727a9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CONST.js
Original file line number Diff line number Diff line change
@@ -752,7 +752,7 @@ const CONST = {

// The server has a WAF (Web Application Firewall) which will strip out HTML/XML tags using this regex pattern.
// It's copied here so that the same regex pattern can be used in form validations to be consistent with the server.
VALIDATE_FOR_HTML_TAG_REGEX: /<(.|\n)*?>/g,
VALIDATE_FOR_HTML_TAG_REGEX: /<([^>\s]+)(?:[^>]*?)>/g,

PASSWORD_PAGE: {
ERROR: {

0 comments on commit 727a9f6

Please sign in to comment.