Make anchors aware of the nodes they point to
This commit is contained in:
parent
eb96b456ef
commit
3fa399c317
31 changed files with 366 additions and 230 deletions
|
|
@ -33,6 +33,10 @@ impl Parseable for CheckBox {
|
|||
let toggle = if self.checked { " checked " } else { "" };
|
||||
format!(r#"<input type="checkbox"{toggle}/>"#)
|
||||
}
|
||||
|
||||
fn flatten(&self) -> String {
|
||||
String::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl std::fmt::Display for CheckBox {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue