html5 output is not html5?
doits opened this issue · comments
Markus commented
I am using Config::$format = 'html5';
, but still get things like:
<input <?php atts(array('required' => 'required')); ?>></input>
for
%input{:required => true}
It should instead output
<input <?php atts(array('required' => true)); ?>>,
and the atts
helper should be changed to:
if($value === true)
{
$str .= " $name";
}
The atts
-helper could also depend on Config::$format
, but I think it should function for itself.