summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunken <mm.munk@gmail.com>2016-12-12 13:57:45 +0000
committerMunken <mm.munk@gmail.com>2016-12-12 13:57:45 +0000
commit9590673dac6d4e4ea92b498c67ebeca97d0b9652 (patch)
tree553e587c37507baba7e9897854eaceaadaf3ec1a
parent5c9f43e1e87b9085eee209de72c08573b33958a9 (diff)
downloadgitlab-ce-Munken/gitlab-ce-katex-math.tar.gz
Removed return in the each statementMunken/gitlab-ce-katex-math
-rw-r--r--lib/banzai/filter/math_filter.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/banzai/filter/math_filter.rb b/lib/banzai/filter/math_filter.rb
index d855a0fa3e1..2e0fecccc81 100644
--- a/lib/banzai/filter/math_filter.rb
+++ b/lib/banzai/filter/math_filter.rb
@@ -36,13 +36,11 @@ module Banzai
closing.content = closing.content[1..-1]
opening.content = opening.content[0..-2]
end
- code
end
doc.xpath(DISPLAY_MATH).each do |el|
el[STYLE_ATTRIBUTE] = 'display'
el[:class] += " #{TAG_CLASS}"
- el
end
doc