class Haml::Compiler::CommentCompiler
def compile_html_comment(node, &block)
def compile_html_comment(node, &block) if node.children.empty? [:html, :comment, [:static, " #{node.value[:text]} "]] else [:html, :comment, yield(node)] end end
def compile_html_comment(node, &block) if node.children.empty? [:html, :comment, [:static, " #{node.value[:text]} "]] else [:html, :comment, yield(node)] end end