Surrounds the filtered text with `<style>` and CDATA tags. Useful for including inline CSS.
# File lib/haml/filters.rb, line 227 def render_with_options(text, options) if options[:format] == :html5 type = '' else type = " type=#{options[:attr_wrapper]}text/css#{options[:attr_wrapper]}" end <style#{type}> /*<![CDATA[*/ #{text.rstrip.gsub("\n", "\n ")} /*]]>*/</style> end
Generated with the Darkfish Rdoc Generator 2.