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

CRM_Utils_JS - Improve encode handling of strings #15295

Merged
merged 2 commits into from
Sep 14, 2019

Conversation

colemanw
Copy link
Member

Overview

Improves test scenarios and tweaks the function to handle strings better.

Before

Inconsistent use of single/double quotes. Quotes not always escaped.

After

Quotes escaped.

@civibot
Copy link

civibot bot commented Sep 12, 2019

(Standard links)

@civibot civibot bot added the master label Sep 12, 2019
CRM/Utils/JS.php Outdated Show resolved Hide resolved
@totten totten merged commit 73f8762 into civicrm:master Sep 14, 2019
@colemanw colemanw deleted the jsEncode2 branch September 17, 2019 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants