Merge pull request #902 from Demonthos/fix-ssr-raw-attributes
Fix raw attribute values in SSR
This commit is contained in:
1 file changed
+4
@@ -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)?
|
||||
}
|
||||
_ => {}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user