diff options
author | Vinnie Okada <vokada@mrvinn.com> | 2015-03-22 09:02:32 -0600 |
---|---|---|
committer | Vinnie Okada <vokada@mrvinn.com> | 2015-03-22 20:17:56 -0600 |
commit | a7afc0634240f5cddb6c6e1bf1f9fcf4374b852e (patch) | |
tree | 479dc071012c903fa2a75f35c385f73fe9eed786 /lib/gitlab/push_data_builder.rb | |
parent | f5e65e2e508269ff7c18318526ba01f8e7d83951 (diff) | |
download | gitlab-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