# File lib/gon/escaper.rb, line 15 def javascript_tag(content, type, cdata, nonce) options = {} options.merge!( { type: 'text/javascript' } ) if type options.merge!( { nonce: nonce } ) if nonce content_tag(:script, javascript_cdata_section(content, cdata).html_safe, options) end