Make sure `escape_javascript` return `SafeBuffer` if the incoming argumen #1611

Merged
merged 1 commit into from Jun 9, 2011

Conversation

Projects
None yet
2 participants
@sikachu
Member

sikachu commented Jun 9, 2011

Make sure escape_javascript return SafeBuffer if the incoming argument is already html_safe

tenderlove added a commit that referenced this pull request Jun 9, 2011

Merge pull request #1611 from sikachu/3-0-stable-javascript
Make sure `escape_javascript` return `SafeBuffer` if the incoming argumen

@tenderlove tenderlove merged commit b6a2157 into rails:3-0-stable Jun 9, 2011

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