fix xss issue in blame

This commit is contained in:
Dmitriy Zaporozhets 2013-03-22 18:52:25 +02:00
parent 5c49cf6ca1
commit 0c7f426037

View file

@ -38,11 +38,11 @@
- current_line += 1 - current_line += 1
- else - else
- lines.each do |line| - lines.each do |line|
:preserve = current_line
#{current_line} \
- current_line += 1 - current_line += 1
%td.lines %td.lines
%pre %pre
- lines.each do |line| - lines.each do |line|
:preserve = line
#{line} \