BigW Consortium Gitlab

Commit c0385488 by Rubén Dávila

Fix broken spec. #3945

parent f1f9b5f7
......@@ -113,7 +113,8 @@ module DiffHelper
if line.blank?
"  ".html_safe
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment