# File lib/haml/filters.rb, line 205 def render_with_options(text, options) if options[:format] == :html5 type = '' else type = " type=#{options[:attr_wrapper]}text/javascript#{options[:attr_wrapper]}" end "<script\#{type}>\n //<![CDATA[\n \#{text.rstrip.gsub(\"\\n\", \"\\n \")}\n //]]>\n</script>\n" end