module Haml::Filters::Cdata
def render(text)
- See: Base#render -
def render(text) text = "\n#{text}" text.rstrip! text.gsub!("\n", "\n ") "<![CDATA[#{text}\n]]>" end
def render(text) text = "\n#{text}" text.rstrip! text.gsub!("\n", "\n ") "<![CDATA[#{text}\n]]>" end