diff --git a/lib/views/status.erb b/lib/views/status.erb index a19a08c..48bf557 100644 --- a/lib/views/status.erb +++ b/lib/views/status.erb @@ -10,6 +10,9 @@ ' - html_output += '
' + html_output += '
' left_hash.keys.each do |file| - html_output += '
' + html_output += '
' html_output += '

' + file + '

' html_output += Diffy::Diff.new( left_hash[file], right_hash[file], - :include_plus_and_minus_in_html => true + :include_plus_and_minus_in_html => true, + :allow_empty_diff => false ).to_s(:html) html_output += '
' end