class Haml::Compiler::CommentCompiler
def compile_text(node)
def compile_text(node) text = if node.value[:parse] # Just always escaping the result for safety. We could respect # escape_html, but I don't see any use case for it. [:escape, true, [:dynamic, node.value[:text]]] else [:static, node.value[:text]] end [:multi, [:static, ' '], text, [:static, ' ']] end