phphaml icon indicating copy to clipboard operation
phphaml copied to clipboard

HTML-style attributes

Open derDoc opened this issue 12 years ago • 0 comments

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 ; ?>

derDoc avatar Feb 08 '13 21:02 derDoc