summaryrefslogtreecommitdiff
path: root/lib/gitlab/push_data_builder.rb
diff options
context:
space:
mode:
authorVinnie Okada <vokada@mrvinn.com>2015-03-22 09:02:32 -0600
committerVinnie Okada <vokada@mrvinn.com>2015-03-22 20:17:56 -0600
commita7afc0634240f5cddb6c6e1bf1f9fcf4374b852e (patch)
tree479dc071012c903fa2a75f35c385f73fe9eed786 /lib/gitlab/push_data_builder.rb
parentf5e65e2e508269ff7c18318526ba01f8e7d83951 (diff)
downloadgitlab-ce-a7afc0634240f5cddb6c6e1bf1f9fcf4374b852e.tar.gz
Fix SanitizationFilter bugs
Return a `SafeBuffer` instead of a `String` from the `#gfm_with_options` method so that Rails doesn't escape our markup. Also add `<span>` to the sanitization whitelist to avoid breaking syntax highlighting in code blocks.
Diffstat (limited to 'lib/gitlab/push_data_builder.rb')
0 files changed, 0 insertions, 0 deletions