Skip to content

Spaces (non-breaking) in SMS message are replaced with single quote. #6709

@azturner

Description

@azturner

Description

When using Twilio transport and sending an SMS message from new Communication Wizard, if content includes a non-breaking space (i.e. two spaces in a row, or space at the end of a line), those spaces are replaced with a single quote. This shows up in both the preview and in the message that is sent.

Image

This new code addition appears to be culprit.

Actual Behavior

When using a double space, one of the spaces is converted to a single quote.

Expected Behavior

double spaces (or any 'non-breaking' space) should not be converted to a single quote.

Steps to Reproduce

  • Make sure Rock is configured to use Twilio transport
  • Using communication wizard, send an SMS message.
  • In SMS message include double spaces, or add a space at the end of a line
  • Notice in preview window that those spaces are replaced with a single quote.

Issue Confirmation

  • Perform a search on the Github Issues to see if your bug is already reported.
  • Reproduced the problem on a fresh install or on the demo site.

Rock Version

v18.1, v18.2

Client Culture Setting

en-US

Metadata

Metadata

Labels

Fixed in v18.3Status: ConfirmedIt's clear what the subject of the issue is about, and what the resolution should be.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions