Skip to content
Snippets Groups Projects
Commit c0385488 authored by Rubén Dávila's avatar Rubén Dávila
Browse files

Fix broken spec. #3945

parent f1f9b5f7
No related branches found
No related tags found
1 merge request!2109Add syntax highlighting to diff view
Loading
@@ -113,7 +113,8 @@ module DiffHelper
Loading
@@ -113,7 +113,8 @@ module DiffHelper
if line.blank? if line.blank?
"  ".html_safe "  ".html_safe
else else
line.try(:html_safe) # Return line if it isn't a String, it helps when it's Numeric
line.is_a?(String) ? line.html_safe : line
end end
end end
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment