summaryrefslogtreecommitdiff
path: root/app/views/groups
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-29 19:01:12 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-02 13:04:10 -0400
commit023dd2907b4afa0bae5f8482cae75e1edd6954a8 (patch)
tree930783eafc875c69ebab009f6f0188ff58092bf1 /app/views/groups
parent1a52f19c456dfa307dd7fa0e5adbaa2ed1a68889 (diff)
downloadgitlab-ce-023dd2907b4afa0bae5f8482cae75e1edd6954a8.tar.gz
Add a `pipeline` context option for SanitizationFilter
When this option is `:description`, we use a more restrictive whitelist. This is used for Project and Group description fields.
Diffstat (limited to 'app/views/groups')
-rw-r--r--app/views/groups/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml
index f42007da073..0687840af39 100644
--- a/app/views/groups/show.html.haml
+++ b/app/views/groups/show.html.haml
@@ -11,7 +11,7 @@
@#{@group.path}
- if @group.description.present?
.description
- = markdown(@group.description)
+ = markdown(@group.description, pipeline: :description)
%hr
= render 'shared/show_aside'