Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-08-31 23:23:46 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-08-31 23:23:46 +0300
commitc104f4d590b16d4784d029c953be90fda130e8b4 (patch)
tree3eaf5fb80af5687e55103c9db6c29a065c50b3a5 /lib
parent08ca9411865a9dff5354f0e7ec214fba6af4e9d9 (diff)
Remove unnecessary `strip` from `reference_class` method
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/markdown/reference_filter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/markdown/reference_filter.rb b/lib/gitlab/markdown/reference_filter.rb
index 4e936d7cd51..9b293c957d6 100644
--- a/lib/gitlab/markdown/reference_filter.rb
+++ b/lib/gitlab/markdown/reference_filter.rb
@@ -70,7 +70,7 @@ module Gitlab
end
def reference_class(type)
- "gfm gfm-#{type}".strip
+ "gfm gfm-#{type}"
end
# Iterate through the document's text nodes, yielding the current node's