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