fix attrs printing

This commit is contained in:
Valentin Gagarin 2024-11-13 15:24:41 +01:00 committed by Valentin Gagarin
parent 36d1c9c433
commit 153b761c8f

View file

@ -136,7 +136,7 @@ let
if isBool value then
if value then name else ""
# TODO: some attributes must be explicitly empty
else optionalString (toString value != "") ''${name}=${value}''
else optionalString (toString value != "") ''${name}="${toString value}"''
)
attrs)
);