# File lib/bullet/rack.rb, line 46 def append_to_html_body(response_body, content) body = response_body.dup if body.include?('</body>') position = body.rindex('</body>') body.insert(position, content) else body << content end end