-
- Downloads
There was an error fetching the commit references. Please try again later.
Merge branch 'fix-backslashes-inline-diff' into 'master'
Fix bug where backslashes in inline diffs could be dropped This MR fixes a bug in inline diff generation causing backslashes to be dropped. For example, the input: ``` input.to_s.sub(/[\r\n].+/,'').sub(/\\[rn].+/, '').strip ``` The second backslash is dropped in the second `sub` statement:  With this fix, it looks like:  Closes #2253 See merge request !1143
spec/lib/gitlab/diff/inline_diff_spec.rb
0 → 100644
Please register or sign in to comment