Skip to content

Commit aab84a0

Browse files
committed
Suppress "literal string will be frozen" warnings
1 parent 41cda48 commit aab84a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/chupa-text/decomposers/html.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def decompose(data)
4848
doc = Nokogiri::HTML.parse(html, nil, guess_encoding(html))
4949
body_element = (doc % "body")
5050
if body_element
51-
body = extract_text(body_element, "").scrub.gsub(/^\s+|\s+$/, '')
51+
body = extract_text(body_element, +"").scrub.gsub(/^\s+|\s+$/, '')
5252
else
5353
body = ""
5454
end

0 commit comments

Comments
 (0)