8000 Issue #11607 Broken HTML tables by albert-github · Pull Request #11608 · doxygen/doxygen · GitHub
[go: up one dir, main page]

Skip to content

Issue #11607 Broken HTML tables #11608

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 12, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Issue #11607 Broken HTML tables
Catching end tags for `<thead>`, <tfoot> and `<tbody>` as well so they won't throw a warning:w
  • Loading branch information
albert-github committed Jun 8, 2025
commit 915745aa8faf821d161ca12a50cea43bae44c099
12 changes: 12 additions & 0 deletions src/docnode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2214,6 +2214,18 @@ Token DocHtmlTable::parse()
{
retval = Token::make_RetVal_EndTable();
}
else if (tagId==HtmlTagType::HTML_TBODY && parser()->context.token->endTag)
{
// for time being ignore </t....> tag
}
else if (tagId==HtmlTagType::HTML_THEAD && parser()->context.token->endTag)
{
// for time being ignore </t....> tag
}
else if (tagId==HtmlTagType::HTML_TFOOT && parser()->context.token->endTag)
{
// for time being ignore </t....> tag
}
else // found some other tag
{
warn_doc_error(parser()->context.fileName,parser()->tokenizer.getLineNr(),"expected <tr> or </table> tag but "
Expand Down
Loading
0