diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-01-17 13:06:12 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-01-17 13:06:12 -0500 |
commit | 72620ea1b725f8776087e516cdc3dd13f5f8e075 (patch) | |
tree | 53330491fcf602b74c1f3c68bb07dcecd091fb7e /lib/banzai | |
parent | 5adf080880521826b4e0f4c3c5d11ea15da458dd (diff) | |
download | gitlab-ce-72620ea1b725f8776087e516cdc3dd13f5f8e075.tar.gz |
Fix SyntaxHighlightFilter spec
Diffstat (limited to 'lib/banzai')
-rw-r--r-- | lib/banzai/filter/syntax_highlight_filter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/banzai/filter/syntax_highlight_filter.rb b/lib/banzai/filter/syntax_highlight_filter.rb index 933103abb92..a447e2b8bff 100644 --- a/lib/banzai/filter/syntax_highlight_filter.rb +++ b/lib/banzai/filter/syntax_highlight_filter.rb @@ -27,6 +27,7 @@ module Banzai css_classes << " js-syntax-highlight #{lang}" rescue + lang = nil # Gracefully handle syntax highlighter bugs/errors to ensure # users can still access an issue/comment/etc. end |