aboutsummaryrefslogtreecommitdiff
path: root/html_backend.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2020-12-24 06:08:03 +0700
committerShulhan <ms@kilabit.info>2020-12-24 06:08:03 +0700
commitfac0d8f37840a06a672ce17b2c63264bc3a05c31 (patch)
tree8dab0c0b4f2dc9ada0b331937b1203cb1c909cba /html_backend.go
parentfb4ea7d40418c03cc4f9f4a3c63d7cbc8857a1fe (diff)
downloadasciidoctor-go-fac0d8f37840a06a672ce17b2c63264bc3a05c31.tar.xz
all: rename type adocTable to elementTable
Diffstat (limited to 'html_backend.go')
-rw-r--r--html_backend.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/html_backend.go b/html_backend.go
index f033ca2..efe54ec 100644
--- a/html_backend.go
+++ b/html_backend.go
@@ -626,7 +626,7 @@ func htmlWriteTable(doc *Document, el *element, out io.Writer) {
fmt.Fprint(out, "\n</table>")
}
-func htmlWriteTableFooter(doc *Document, table *adocTable, footer *tableRow, out io.Writer) {
+func htmlWriteTableFooter(doc *Document, table *elementTable, footer *tableRow, out io.Writer) {
fmt.Fprint(out, "\n<tfoot>")
htmlWriteTableRow(doc, table, footer, out)
fmt.Fprint(out, "\n</tfoot>")
@@ -646,7 +646,7 @@ func htmlWriteTableHeader(doc *Document, header *tableRow, out io.Writer) {
fmt.Fprint(out, "\n</tr>\n</thead>")
}
-func htmlWriteTableRow(doc *Document, table *adocTable, row *tableRow, out io.Writer) {
+func htmlWriteTableRow(doc *Document, table *elementTable, row *tableRow, out io.Writer) {
fmt.Fprint(out, "\n<tr>")
for x, cell := range row.cells {
format := table.formats[x]