New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to email em dash #2818
Comments
Reviewed logs in Mailgun after testing and confirmed that it received the message with a regular dash. |
This appears to affects all communication transports, not just Email. However, I'm not sure if it is a bug or intended behavior. In Rock.Communication.TransportComponent the ResolveText method is calling Rock.Extension.ReplaceWordChars( ) to strip "special" characters (em dash included). This appears to be designed to cleanup text pasted in from MS word or similar. I see 2 options for fixing this, if it is indeed a bug.
I'm willing to submit a PR for either solution, I'm just not sure which is the better option. |
Prerequisites
Description
We are trying to send an email with some external content. The content occasionally has an em or en dash. When an email is generated from Rock, em dashed are always converted to a regular dash. I am not sure if it is strictly limited to em dashes, but that is all that I have tested with.
Troubleshooting steps taken:
—``—``—
MailGun
andSendGrid
Outlook
andGmail
Steps to Reproduce
HTML: — <br/>Decimal: — <br/>Hex: —
Expected behavior:
em dash is render correctly
Actual behavior:
em dash is being rendered as regular dash
Versions
The text was updated successfully, but these errors were encountered: