Module | Haml::Filters::Cdata |
In: |
lib/haml/filters.rb
|
Surrounds the filtered text with CDATA tags.
@see Base#render
# File lib/haml/filters.rb, line 210 210: def render(text) 211: "<![CDATA[#{("\n" + text).rstrip.gsub("\n", "\n ")}\n]]>" 212: end