summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-10-04 14:28:57 +0100
committerPhil Hughes <me@iamphill.com>2016-10-04 14:28:57 +0100
commitcd2556e73792f018af71e8910b4f556e29de1985 (patch)
treea7bde84292817a338af6a1fdd1fddcbd539599fc
parent138e26b1fad6730aa048b8cc91f92a597e323162 (diff)
downloadgitlab-ce-code-blocks-vue-pre.tar.gz
Removed puts code :see_no_evil:code-blocks-vue-pre
-rw-r--r--lib/banzai/filter/syntax_highlight_filter.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/banzai/filter/syntax_highlight_filter.rb b/lib/banzai/filter/syntax_highlight_filter.rb
index bb6b4582e4f..026b81ac175 100644
--- a/lib/banzai/filter/syntax_highlight_filter.rb
+++ b/lib/banzai/filter/syntax_highlight_filter.rb
@@ -31,7 +31,6 @@ module Banzai
end
highlighted = %(<pre class="#{css_classes}" v-pre="true"><code>#{code}</code></pre>)
- puts highlighted
# Extracted to a method to measure it
replace_parent_pre_element(node, highlighted)