Sha256: 669f0990d5225b246539662624c1b9a09928da0009e37158ff4afa90e3099e92
Contents?: true
Size: 722 Bytes
Versions: 10
Compression:
Stored size: 722 Bytes
Contents
--FILE-- <?php $env = new MtHaml\Environment('php', 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 <?php echo MtHaml\Runtime::renderAttributes(array(array('foo', TRUE), array('bar', 'baz')), 'html5', 'UTF-8', false); ?>></p> <p <?php echo MtHaml\Runtime::renderAttributes(array(array('foo', TRUE)), 'html5', 'UTF-8', false); ?>></p> <p <?php echo MtHaml\Runtime::renderAttributes(array(array('bar', 'baz'), array('foo', TRUE)), 'html5', 'UTF-8', false); ?>></p> <p <?php echo MtHaml\Runtime::renderAttributes(array(array('foo', TRUE), array('class', baz)), 'html5', 'UTF-8', false); ?>></p>
Version data entries
10 entries across 10 versions & 1 rubygems