mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 12:31:40 +01:00
HTML escape at app/views/common/_diff.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6360 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<% if diff.diff_type == 'sbs' -%>
|
||||
<table class="filecontent">
|
||||
<thead>
|
||||
<tr><th colspan="4" class="filename"><%=to_utf8 table_file.file_name %></th></tr>
|
||||
<tr><th colspan="4" class="filename"><%=h(to_utf8(table_file.file_name)) %></th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% table_file.each_line do |spacing, line| -%>
|
||||
@@ -31,7 +31,7 @@
|
||||
<% else -%>
|
||||
<table class="filecontent">
|
||||
<thead>
|
||||
<tr><th colspan="3" class="filename"><%=to_utf8 table_file.file_name %></th></tr>
|
||||
<tr><th colspan="3" class="filename"><%=h(to_utf8(table_file.file_name)) %></th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% table_file.each_line do |spacing, line| %>
|
||||
|
||||
Reference in New Issue
Block a user