Skip to content
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

dev/core#3001 escape single quotes when rendering tokens in html format #22285

Merged
merged 2 commits into from
Dec 30, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

dev/core#3001 escape single quotes when rendering tokens in html format

Before

Given the contact : Mathew "Matty" O'Riley

{contact.last_name} renders in html mode as O'Riley
{contact.first_name} renders in html mode as Mathew "Matty"

After

{contact.last_name} renders in html mode as O'Riley
{contact.first_name} renders in html mode as Mathew "Matty"

Technical Details

See https://lab.civicrm.org/dev/core/-/issues/3001 for discussion

Comments

@totten

@civibot
Copy link

civibot bot commented Dec 20, 2021

(Standard links)

@civibot civibot bot added the master label Dec 20, 2021
@totten
Copy link
Member

totten commented Dec 30, 2021

@eileenmcnaughton Change looks good. I don't think anything else is needed for text mode. I've pushed up a unit-test. If you're good with the test, then let's merge it.

@eileenmcnaughton
Copy link
Contributor Author

thanks @totten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants