diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-10-05 00:23:16 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-10-05 00:23:16 +0800 |
commit | 22aaebdf78d1617f8ef396915e7fe0a51e29c322 (patch) | |
tree | 5960d13e7960230055f8fbbe26cfdb500448157b /lib/banzai/filter/sanitization_filter.rb | |
parent | 5c9ac560e7e916c8a082c99309fbd4031b1a6803 (diff) | |
parent | 7887a3dafb6902cc39c831e307c48faf49f80b51 (diff) | |
download | gitlab-ce-22aaebdf78d1617f8ef396915e7fe0a51e29c322.tar.gz |
Merge remote-tracking branch 'upstream/master' into all-skipped-equals-successall-skipped-equals-success
* upstream/master:
Fixed banzai test failures
Removed puts code :see_no_evil:
Adds v-pre to code blocks in comments
Diffstat (limited to 'lib/banzai/filter/sanitization_filter.rb')
-rw-r--r-- | lib/banzai/filter/sanitization_filter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/banzai/filter/sanitization_filter.rb b/lib/banzai/filter/sanitization_filter.rb index 2470362e019..af1e575fc89 100644 --- a/lib/banzai/filter/sanitization_filter.rb +++ b/lib/banzai/filter/sanitization_filter.rb @@ -25,7 +25,7 @@ module Banzai return if customized?(whitelist[:transformers]) # Allow code highlighting - whitelist[:attributes]['pre'] = %w(class) + whitelist[:attributes]['pre'] = %w(class v-pre) whitelist[:attributes]['span'] = %w(class) # Allow table alignment |