This commit is contained in:
mlantz committed 2017-05-21 14:02:21 -04:00
1 parent 3dcf2185a1
commit 4f6701c7c3
2 files changed
+6 -2

No files matched your search

+2 -2
View File
@@ -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 : '';
}