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

Escape a single quote apostrophe in escapeHtml #34

Merged
merged 2 commits into from
May 21, 2012
Merged

Escape a single quote apostrophe in escapeHtml #34

merged 2 commits into from
May 21, 2012

Conversation

jleppert
Copy link
Contributor

Added escaping for single quotes and updated tests. fixes #24

@@ -459,14 +459,15 @@ var HCHARS = new RegExp(/[&<>\"]/),
Copy link
Contributor

Choose a reason for hiding this comment

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

we need it in the HCHARS too? is it not ?

unit tests pass, so I am not sure.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Haha, I did have it in there before I stashed and lost my changes on
another branch.

Check it now, I added some code.

Thanks for catching it :-)

On Wed, May 16, 2012 at 10:37 PM, Veena Basavaraj <
reply@reply.github.com

wrote:

@@ -459,14 +459,15 @@ var HCHARS = new RegExp(/[&<>"]/),

we need it in the HCHARS too.

I did the same mistake before; )


Reply to this email directly or view it on GitHub:
https://github.com/linkedin/dustjs/pull/34/files#r836841

Johnathan
Software Engineer
San Francisco, California
Follow me on Twitter: @iamleppert http://twitter.com/#!/iamleppert

vybs added a commit that referenced this pull request May 21, 2012
Escape a single quote apostrophe in escapeHtml
@vybs vybs merged commit a204699 into linkedin:master May 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Escape a single quote apostrophe in escapeHtml
2 participants