Module Haml::Filters::Cdata
In: lib/haml/filters.rb

Surrounds the filtered text with CDATA tags.

Methods

render  

Included Modules

Base

Public Instance methods

@see Base#render

[Source]

     # File lib/haml/filters.rb, line 210
210:       def render(text)
211:         "<![CDATA[#{("\n" + text).rstrip.gsub("\n", "\n    ")}\n]]>"
212:       end

[Validate]