Sha256: 70f6012d5d9f6c1bdca98ba386a2cc242f151e671142522fb15821c85f25e053
Contents?: true
Size: 607 Bytes
Versions: 10
Compression:
Stored size: 607 Bytes
Contents
--HAML-- %p[$a] %p[$a, "b"] %p[] --FILE-- <?php $env = new MtHaml\Environment('php', array('enable_escaper' => false)); echo $env->compileString($parts['HAML'], "$file.haml"); --EXPECT-- <p <?php echo MtHaml\Runtime::renderAttributes(array(array('class', MtHaml\Runtime::renderObjectRefClass($a)), array('id', MtHaml\Runtime::renderObjectRefId($a))), 'html5', 'UTF-8', false); ?>></p> <p <?php echo MtHaml\Runtime::renderAttributes(array(array('class', MtHaml\Runtime::renderObjectRefClass($a, ("b"))), array('id', MtHaml\Runtime::renderObjectRefId($a, ("b")))), 'html5', 'UTF-8', false); ?>></p> <p></p>
Version data entries
10 entries across 10 versions & 1 rubygems