Inject per-table nth-of-type CSS from <col> alignment/widths, then remove <col>s

fixTableCols(output, io)

Arguments

output

Character vector (HTML fragments) to preprocess

io

Environment which contains, among other things, a table counter which is necessary to give the tables unique ids.

Value

A single character string of cleaned HTML