summaryrefslogtreecommitdiff
path: root/lib/gitlab/diff/parser.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 21:59:28 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 21:59:28 -0800
commit61cc6a9244f316f684cd887febd9dae1030a04b0 (patch)
tree96e9335bf6348a0ac3375dbab6fe39bbe9e6d3e7 /lib/gitlab/diff/parser.rb
parentd04344373b899c1e54948ca46478f7b907a576d2 (diff)
downloadgitlab-ce-61cc6a9244f316f684cd887febd9dae1030a04b0.tar.gz
Rubocop: indentation fixes Yay!!!
Diffstat (limited to 'lib/gitlab/diff/parser.rb')
-rw-r--r--lib/gitlab/diff/parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/diff/parser.rb b/lib/gitlab/diff/parser.rb
index 0242e09a515..887ed76b36c 100644
--- a/lib/gitlab/diff/parser.rb
+++ b/lib/gitlab/diff/parser.rb
@@ -74,7 +74,7 @@ module Gitlab
def html_escape(str)
replacements = { '&' => '&amp;', '>' => '&gt;', '<' => '&lt;', '"' => '&quot;', "'" => '&#39;' }
- str.gsub(/[&"'><]/, replacements)
+ str.gsub(/[&"'><]/, replacements)
end
end
end