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

html5 output is not html5? #24

@doits

Description

@doits

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions