diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-05-29 19:01:12 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-02 13:04:10 -0400 |
commit | 023dd2907b4afa0bae5f8482cae75e1edd6954a8 (patch) | |
tree | 930783eafc875c69ebab009f6f0188ff58092bf1 /app/views/groups | |
parent | 1a52f19c456dfa307dd7fa0e5adbaa2ed1a68889 (diff) | |
download | gitlab-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.haml | 2 |
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' |