diff options
author | http://jneen.net/ <jneen@jneen.net> | 2016-11-10 11:40:53 +0300 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2016-11-17 05:59:44 +0300 |
commit | 17341244337511a239bb7a262236b9896a0bf76d (patch) | |
tree | 7645ee3714d6b1c4feeaf5d2b5d3ed770e19dbfd /lib/gitlab/email | |
parent | f7b0692912e0679a3e2e77b2d1bfaf305fba473a (diff) |
fix rubocop failures
Diffstat (limited to 'lib/gitlab/email')
-rw-r--r-- | lib/gitlab/email/html_parser.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/gitlab/email/html_parser.rb b/lib/gitlab/email/html_parser.rb index 51d8edb1b13..3a723b777f5 100644 --- a/lib/gitlab/email/html_parser.rb +++ b/lib/gitlab/email/html_parser.rb @@ -20,7 +20,10 @@ module Gitlab end def filtered_html - @filtered_html ||= (filter_replies!; document.inner_html) + @filtered_html ||= begin + filter_replies! + document.inner_html + end end def filtered_text |