Class: Hpricot::CData
Overview
Instance Method Summary collapse
Instance Method Details
#to_haml(tabs, options) ⇒ Object
165 166 167 168 169 |
# File 'lib/haml/html.rb', line 165
def to_haml(tabs, options)
content = parse_text_with_interpolation(
erb_to_interpolation(self.content, options), tabs + 1)
"#{tabulate(tabs)}:cdata\n#{content}"
end
|