Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Improve the JavaScript escaping example #50

Merged
merged 1 commit into from
Sep 3, 2019

Conversation

pyronaur
Copy link
Member

@pyronaur pyronaur commented Sep 3, 2019

Clarifying the "Escaping Dynamic JavaScript Values" example with do's and don't do's. We can still leave the script where it is for people who just want to see the right code, but when showing an example with incorrect code - I think it's better to have the correct code alongside as well.

Also added <?php and ?> with empty comments to enable proper syntax highlighting

Clarifying the "Escaping Dynamic JavaScript Values" example with do and don't do. We can still leave the script where it is for people who just want to see the right code, but when showing an example with incorrect code - I think it's better to have the correct code alongside as well.

Also added `<?php` and `?>` with empty comments to enable proper syntax highlighting
Copy link
Contributor

@rogertheriault rogertheriault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the update!

@rogertheriault rogertheriault merged commit 33a2111 into master Sep 3, 2019
@rogertheriault rogertheriault deleted the clarify-js-escaping-readme branch September 3, 2019 13:15
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.

2 participants