summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/html.cc6
-rw-r--r--src/table.cc25
-rw-r--r--src/table.hh4
3 files changed, 32 insertions, 3 deletions
diff --git a/src/html.cc b/src/html.cc
index b9eb1727..2d29c41d 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -3533,13 +3533,13 @@ static const TagInfo Tags[] = {
{"sub", B8(01011),'R', Html_tag_open_default, NULL, NULL},
{"sup", B8(01011),'R', Html_tag_open_default, NULL, NULL},
{"table", B8(01100),'R', Html_tag_open_table, Html_tag_content_table, NULL},
- /* tbody */
+ {"tbody", B8(01010),'O', Html_tag_open_tbody, Html_tag_content_tbody, NULL},
{"td", B8(01110),'O', Html_tag_open_td, Html_tag_content_td, NULL},
{"textarea", B8(01011),'R', Html_tag_open_textarea, Html_tag_content_textarea,
Html_tag_close_textarea},
- /* tfoot */
+ {"tfoot", B8(01010),'O', Html_tag_open_tfoot, NULL, NULL},
{"th", B8(01110),'O', Html_tag_open_th, Html_tag_content_th, NULL},
- /* thead */
+ {"thead", B8(01010),'O', Html_tag_open_thead, NULL, NULL},
{"title", B8(10011),'R', Html_tag_open_title, NULL, Html_tag_close_title},
{"tr", B8(01100),'O', Html_tag_open_tr, Html_tag_content_tr, NULL},
{"tt", B8(01011),'R', Html_tag_open_default, NULL, NULL},
diff --git a/src/table.cc b/src/table.cc
index 188becbc..859b1063 100644
--- a/src/table.cc
+++ b/src/table.cc
@@ -245,6 +245,31 @@ void Html_tag_content_td(DilloHtml *html, const char *tag, int tagsize)
}
/*
+ * <tbody>
+ */
+void Html_tag_open_tbody(DilloHtml *html, const char *tag, int tagsize)
+{
+}
+
+void Html_tag_content_tbody(DilloHtml *html, const char *tag, int tagsize)
+{
+}
+
+/*
+ * <tfoot>
+ */
+void Html_tag_open_tfoot(DilloHtml *html, const char *tag, int tagsize)
+{
+}
+
+/*
+ * <thead>
+ */
+void Html_tag_open_thead(DilloHtml *html, const char *tag, int tagsize)
+{
+}
+
+/*
* <TH>
*/
void Html_tag_open_th(DilloHtml *html, const char *tag, int tagsize)
diff --git a/src/table.hh b/src/table.hh
index 5417f681..25b7fdb3 100644
--- a/src/table.hh
+++ b/src/table.hh
@@ -17,6 +17,10 @@ void Html_tag_open_tr(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_content_tr(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_open_td(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_content_td(DilloHtml *html, const char *tag, int tagsize);
+void Html_tag_open_tbody(DilloHtml *html, const char *tag, int tagsize);
+void Html_tag_content_tbody(DilloHtml *html, const char *tag, int tagsize);
+void Html_tag_open_tfoot(DilloHtml *html, const char *tag, int tagsize);
+void Html_tag_open_thead(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_open_th(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_content_th(DilloHtml *html, const char *tag, int tagsize);