summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-03 18:03:01 +0200
committerDouwe Maan <douwe@gitlab.com>2015-04-03 18:03:01 +0200
commit9d647197da793b429102755e069686e6928de26e (patch)
tree4003f522162288a0caaf9cf43522934d7f218279 /app/helpers
parent7b9ae32eff09558cf55190b5aed32ad97b31bf55 (diff)
downloadgitlab-ce-9d647197da793b429102755e069686e6928de26e.tar.gz
Don't require user to every gfm call.
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/gitlab_markdown_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/gitlab_markdown_helper.rb b/app/helpers/gitlab_markdown_helper.rb
index a4157d62533..7ca3f058636 100644
--- a/app/helpers/gitlab_markdown_helper.rb
+++ b/app/helpers/gitlab_markdown_helper.rb
@@ -19,7 +19,7 @@ module GitlabMarkdownHelper
escape_once(body)
end
- gfm_body = gfm(escaped_body, @project, current_user, html_options)
+ gfm_body = gfm(escaped_body, @project, html_options)
gfm_body.gsub!(%r{<a.*?>.*?</a>}m) do |match|
"</a>#{match}#{link_to("", url, html_options)[0..-5]}" # "</a>".length +1