Sha256: fecbe1798ca770082f28f17f2429e099daeb340640fb319dcfa0f5899b7a93ea
Contents?: true
Size: 458 Bytes
Versions: 7
Compression:
Stored size: 458 Bytes
Contents
module Hamlit class Filters class Plain < Base def compile(node) text = node.value[:text].rstrip if ::Hamlit::HamlUtil.contains_interpolation?(text) # FIXME: Confirm whether this is correct or not text << "\n".freeze text = ::Hamlit::HamlUtil.slow_unescape_interpolation(text) [:escape, true, [:dynamic, text]] else [:static, text] end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems