mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-20 13:25:19 +00:00
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:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user