Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

Use json_encode() to encode options#24

Open
thomasbachem wants to merge 3 commits intozendesk:masterfrom
thomasbachem:json-encode
Open

Use json_encode() to encode options#24
thomasbachem wants to merge 3 commits intozendesk:masterfrom
thomasbachem:json-encode

Conversation

@thomasbachem
Copy link

This has several advantages:

  1. We don't need the decodeEntities() JS function
  2. It's the safest way to encode JS stuff
  3. User data like names and email are only included when not empty

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant