mirror of
https://github.com/typst/typst
synced 2025-08-07 11:47:53 +08:00
Body field.
This commit is contained in:
parent
f2f5d95d54
commit
eba9568ac0
@ -749,7 +749,7 @@ impl Show for Packed<TableCell> {
|
|||||||
let body = Some(self.body.clone());
|
let body = Some(self.body.clone());
|
||||||
Ok(HtmlElem::new(tag::td).with_body(body).with_attrs(attrs).pack())
|
Ok(HtmlElem::new(tag::td).with_body(body).with_attrs(attrs).pack())
|
||||||
} else {
|
} else {
|
||||||
show_grid_cell(self.body().clone(), self.inset(styles), self.align(styles))
|
show_grid_cell(self.body.clone(), self.inset(styles), self.align(styles))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user