Skip to content

Commit

Permalink
Add valign attribute of table cells to xml output.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Theegarten committed Jan 7, 2021
1 parent 8e2d091 commit 04c8d25
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/xmldocvisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,11 @@ void XmlDocVisitor::visitPre(DocHtmlCell *c)
{
m_t << " align=\"" << opt->value << "\"";
}
else if (opt->name=="valign" &&
(opt->value == "bottom" || opt->value == "top" || opt->value == "middle"))
{
m_t << " valign=\"" << opt->value << "\"";
}
else if (opt->name=="width")
{
m_t << " width=\"" << opt->value << "\"";
Expand Down

0 comments on commit 04c8d25

Please sign in to comment.