Browse files

make sure the js is html safe

  • Loading branch information...
1 parent 0350381 commit baa21df86b51b2def3313a53f8026204eeab69b9 @tenderlove committed Jan 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/helpers/application_helper.rb
View
2 app/helpers/application_helper.rb
@@ -1,7 +1,7 @@
module ApplicationHelper
def analytics_tag
if Rails.env.production?
- <<-eojs
+ (<<-eojs).html_safe
<script type="text/javascript">
var _gaq = _gaq || [];

0 comments on commit baa21df

Please sign in to comment.