summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-01-04 08:08:43 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-01-04 08:08:43 +0000
commit25477e452c7095c4bf30032254c032752777d7d8 (patch)
treedd7f26964f24141e13d85bd306456cc6ba748987 /app
parent4786706591edbfcf0a4720464f10bee0610cd35d (diff)
downloadredmine-25477e452c7095c4bf30032254c032752777d7d8.tar.gz
redmine-25477e452c7095c4bf30032254c032752777d7d8.zip
Rails3: view: html_safe for repositories/_revision_graph.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8494 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/repositories/_revision_graph.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/_revision_graph.html.erb b/app/views/repositories/_revision_graph.html.erb
index 34d849924..6dcaa3f2d 100644
--- a/app/views/repositories/_revision_graph.html.erb
+++ b/app/views/repositories/_revision_graph.html.erb
@@ -1,6 +1,6 @@
<%= javascript_include_tag "raphael.js" %>
<script type="text/javascript" charset="utf-8">
- var chunk = {commits:<%= commits.values.to_json %>}
+ var chunk = {commits:<%= commits.values.to_json.html_safe %>}
</script>
<%= javascript_include_tag "revision_graph.js" %>