diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-01 21:10:06 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-01 21:10:06 +0000 |
commit | f7bc7dc5eafc4eef9043a3d1b2dcbc15ca76a571 (patch) | |
tree | 8577ded3a5ac4c2b76d7194066fccf9882159956 /app/helpers | |
parent | c3afdb42ddc7f24d51032ed0daef071a2dafdc93 (diff) | |
download | gitlab-ce-f7bc7dc5eafc4eef9043a3d1b2dcbc15ca76a571.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/markup_helper.rb | 1 |
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 |