diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-08-31 16:23:46 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-08-31 16:23:46 -0400 |
commit | c104f4d590b16d4784d029c953be90fda130e8b4 (patch) | |
tree | 3eaf5fb80af5687e55103c9db6c29a065c50b3a5 /lib/gitlab/markdown | |
parent | 08ca9411865a9dff5354f0e7ec214fba6af4e9d9 (diff) | |
download | gitlab-ce-c104f4d590b16d4784d029c953be90fda130e8b4.tar.gz |
Remove unnecessary `strip` from `reference_class` method
Diffstat (limited to 'lib/gitlab/markdown')
-rw-r--r-- | lib/gitlab/markdown/reference_filter.rb | 2 |
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 |