Skip to content

Commit

Permalink
thead tag
Browse files Browse the repository at this point in the history
  • Loading branch information
walley authored and rodarima committed Dec 11, 2023
1 parent 3d7105b commit 74588af
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/html.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3539,7 +3539,7 @@ static const TagInfo Tags[] = {
Html_tag_close_textarea},
{"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},
Expand Down
7 changes: 7 additions & 0 deletions src/table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,13 @@ 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>
*/
Expand Down
1 change: 1 addition & 0 deletions src/table.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ 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);

Expand Down

0 comments on commit 74588af

Please sign in to comment.