Don't build HTML tables

`build` only recalculates length and width information, and this is not
needed for HTML tables.
This commit is contained in:
Feoramund
2024-06-18 11:46:19 -04:00
parent 4a3684c5e8
commit b66b960e7e

View File

@@ -198,10 +198,6 @@ build :: proc(tbl: ^Table) {
}
write_html_table :: proc(w: io.Writer, tbl: ^Table) {
if tbl.dirty {
build(tbl)
}
io.write_string(w, "<table>\n")
if tbl.caption != "" {
io.write_string(w, "<caption>")