Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

html5 output is not html5? #24

Closed
doits opened this issue Jan 25, 2013 · 1 comment
Closed

html5 output is not html5? #24

doits opened this issue Jan 25, 2013 · 1 comment

Comments

@doits
Copy link

doits commented Jan 25, 2013

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.

@doits
Copy link
Author

doits commented Jan 25, 2013

superseded by #25

@doits doits closed this as completed Jan 25, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant