Fixes #291
This commit is contained in:
1 parent
3dcf2185a1
commit
4f6701c7c3
2 files changed
+6
-2
No files matched your search
+2
-2
@@ -449,9 +449,9 @@ class HtmlBuilder
|
||||
if (is_numeric($key)) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
|
||||
// Treat boolean attributes as HTML properties
|
||||
if (is_bool($value)) {
|
||||
if (is_bool($value) && $key != 'value') {
|
||||
return $value ? $key : '';
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user