phphaml
phphaml copied to clipboard
HTML-style attributes
In Haml HTML-style aatributes work just like attribute hashes. So this:
%html(xmlns="http://www.w3.org/1999/xhtml")
should result in this
<html xmlns="http://www.w3.org/1999/xhtml"></html>
Instead phphaml outputs this:
<html<?php $this->writeAttributes(array ('class' => 'w3 org')); ?>>
<?php echo ; ?>