Class: Haml::Filters::Plain
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Haml::Filters::Base
Instance Method Details
#compile(node)
7 8 9 10 11 |
# File 'lib/haml/filters/plain.rb', line 7
def compile(node)
text = node.value[:text]
text = text.rstrip unless ::Haml::Util.contains_interpolation?(text) # for compatibility
[:multi, *compile_plain(text)]
end
|