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