##// END OF EJS Templates
HTML escape at app/views/common/_diff.rhtml....
Toshi MARUYAMA -
r6240:f742cef0f157
parent child
Show More
@@ -5,7 +5,7
5 <% if diff.diff_type == 'sbs' -%>
5 <% if diff.diff_type == 'sbs' -%>
6 <table class="filecontent">
6 <table class="filecontent">
7 <thead>
7 <thead>
8 <tr><th colspan="4" class="filename"><%=to_utf8 table_file.file_name %></th></tr>
8 <tr><th colspan="4" class="filename"><%=h(to_utf8(table_file.file_name)) %></th></tr>
9 </thead>
9 </thead>
10 <tbody>
10 <tbody>
11 <% table_file.each_line do |spacing, line| -%>
11 <% table_file.each_line do |spacing, line| -%>
@@ -31,7 +31,7
31 <% else -%>
31 <% else -%>
32 <table class="filecontent">
32 <table class="filecontent">
33 <thead>
33 <thead>
34 <tr><th colspan="3" class="filename"><%=to_utf8 table_file.file_name %></th></tr>
34 <tr><th colspan="3" class="filename"><%=h(to_utf8(table_file.file_name)) %></th></tr>
35 </thead>
35 </thead>
36 <tbody>
36 <tbody>
37 <% table_file.each_line do |spacing, line| %>
37 <% table_file.each_line do |spacing, line| %>
General Comments 0
You need to be logged in to leave comments. Login now