Sha256: 57fc7f8a2a65a0db28b4861f0653d17e3c119cad2473190018c76bc550437c2a
Contents?: true
Size: 588 Bytes
Versions: 10
Compression:
Stored size: 588 Bytes
Contents
--FILE-- <?php $env = new MtHaml\Environment('twig', array('enable_escaper' => false)); echo $env->compileString($parts['HAML'], "$file.haml"); --HAML-- %p(foo bar="baz") %p(foo) %p(bar="baz" foo) %p(foo class=baz) --EXPECT-- <p {{ mthaml_attributes([['foo', true], ['bar', 'baz']], 'html5', 'UTF-8', false)|raw }}></p> <p {{ mthaml_attributes([['foo', true]], 'html5', 'UTF-8', false)|raw }}></p> <p {{ mthaml_attributes([['bar', 'baz'], ['foo', true]], 'html5', 'UTF-8', false)|raw }}></p> <p {{ mthaml_attributes([['foo', true], ['class', baz]], 'html5', 'UTF-8', false)|raw }}></p>
Version data entries
10 entries across 10 versions & 1 rubygems