summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-01 21:10:06 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-01 21:10:06 +0000
commitf7bc7dc5eafc4eef9043a3d1b2dcbc15ca76a571 (patch)
tree8577ded3a5ac4c2b76d7194066fccf9882159956 /app/helpers
parentc3afdb42ddc7f24d51032ed0daef071a2dafdc93 (diff)
downloadgitlab-ce-f7bc7dc5eafc4eef9043a3d1b2dcbc15ca76a571.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/markup_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/markup_helper.rb b/app/helpers/markup_helper.rb
index 05a55a09271..7525481047e 100644
--- a/app/helpers/markup_helper.rb
+++ b/app/helpers/markup_helper.rb
@@ -118,6 +118,7 @@ module MarkupHelper
def markup(file_name, text, context = {})
context[:project] ||= @project
+ context[:text_source] ||= :blob
html = context.delete(:rendered) || markup_unsafe(file_name, text, context)
prepare_for_rendering(html, context)
end