Skip to content
Snippets Groups Projects
Commit 9bdcd180 authored by Jacob Schatz's avatar Jacob Schatz
Browse files

Don't allow plus and minus in diff copy paste data

parent d9042e8b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -62,6 +62,12 @@
.line_holder td {
line-height: $code_line_height;
font-size: $code_font_size;
&.noteable_line.old:before {
content: '-';
}
&.noteable_line.new:before {
content: '+';
}
}
}
 
Loading
Loading
Loading
Loading
@@ -44,6 +44,7 @@ module DiffHelper
if line.blank?
"  ".html_safe
else
line[0] = ''
line
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