Merge pull request #902 from Demonthos/fix-ssr-raw-attributes

Fix raw attribute values in SSR
This commit is contained in:
Jon Kelley authored and GitHub committed 2023-04-13 09:55:50 -07:00
commit a687f697c7
1 file changed
+4
+4
View File
@@ -89,6 +89,10 @@ impl Renderer {
write!(buf, " {}=\"{}\"", attr.name, value)?
}
AttributeValue::Bool(value) => write!(buf, " {}={}", attr.name, value)?,
AttributeValue::Int(value) => write!(buf, " {}={}", attr.name, value)?,
AttributeValue::Float(value) => {
write!(buf, " {}={}", attr.name, value)?
}
_ => {}
};
}