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

Merged
merged 1 commit into from Jun 9, 2011

2 participants

@sikachu
Ruby on Rails member

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

@tenderlove tenderlove merged commit d0a1e37 into rails:master Jun 9, 2011
@jake3030 jake3030 pushed a commit to jake3030/rails that referenced this pull request Jun 28, 2011
@miloops miloops Add missing fixture to allow reload models test to run isolated [#1609
…state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
c092dbe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment