Sha256: 298c4685e1b7a2dc748be0e1e590bfda9ece62ecf6c8ad82bb0b33e9e79c354c
Contents?: true
Size: 457 Bytes
Versions: 10
Compression:
Stored size: 457 Bytes
Contents
--FILE-- <?php $env = new MtHaml\Environment('twig', array('enable_escaper' => false)); echo $env->compileString($parts['HAML'], "$file.haml"); --HAML-- .foo.bar.baz #id.foo.bar{"class" => "abc #{def}", "id" => "x"} %p{:a => "b", :a => "c"} --EXPECT-- <div class="foo bar baz"></div> <div {% line 4 %}{{ mthaml_attributes([['class', ('foo' ~ ' ' ~ 'bar')], ['class', ('abc ' ~ def)], ['id', 'x']], 'html5', 'UTF-8', false)|raw }}></div> <p a="c"></p>
Version data entries
10 entries across 10 versions & 1 rubygems