Commit c0da61c6d88dd6ea08bd6ace3149652178d2e26d
1 parent
de2c189e
Exists in
master
and in
4 other branches
fix xss issue in blame
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
app/views/blame/show.html.haml
| @@ -38,11 +38,11 @@ | @@ -38,11 +38,11 @@ | ||
| 38 | - current_line += 1 | 38 | - current_line += 1 |
| 39 | - else | 39 | - else |
| 40 | - lines.each do |line| | 40 | - lines.each do |line| |
| 41 | - :preserve | ||
| 42 | - #{current_line} | 41 | + = current_line |
| 42 | + \ | ||
| 43 | - current_line += 1 | 43 | - current_line += 1 |
| 44 | %td.lines | 44 | %td.lines |
| 45 | %pre | 45 | %pre |
| 46 | - lines.each do |line| | 46 | - lines.each do |line| |
| 47 | - :preserve | ||
| 48 | - #{line} | 47 | + = line |
| 48 | + \ |