Fix additional attributes for js renderers (#3625)
This commit is contained in:
1 parent
67515ce812
commit
2d188452ae
10 files changed
+125
-1
No files matched your search
@@ -28,6 +28,7 @@ impl LinkProps {
|
||||
/// Get all the attributes for the link tag
|
||||
pub fn attributes(&self) -> Vec<(&'static str, String)> {
|
||||
let mut attributes = Vec::new();
|
||||
extend_attributes(&mut attributes, &self.additional_attributes);
|
||||
if let Some(rel) = &self.rel {
|
||||
attributes.push(("rel", rel.clone()));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user