diff options
author | Munken <mm.munk@gmail.com> | 2016-12-12 13:57:45 +0000 |
---|---|---|
committer | Munken <mm.munk@gmail.com> | 2016-12-12 13:57:45 +0000 |
commit | 9590673dac6d4e4ea92b498c67ebeca97d0b9652 (patch) | |
tree | 553e587c37507baba7e9897854eaceaadaf3ec1a | |
parent | 5c9f43e1e87b9085eee209de72c08573b33958a9 (diff) | |
download | gitlab-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.rb | 2 |
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 |