Skip to content

Commit 04c8d25

Browse files
author
Jan Theegarten
committed
Add valign attribute of table cells to xml output.
1 parent 8e2d091 commit 04c8d25

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/xmldocvisitor.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,11 @@ void XmlDocVisitor::visitPre(DocHtmlCell *c)
826826
{
827827
m_t << " align=\"" << opt->value << "\"";
828828
}
829+
else if (opt->name=="valign" &&
830+
(opt->value == "bottom" || opt->value == "top" || opt->value == "middle"))
831+
{
832+
m_t << " valign=\"" << opt->value << "\"";
833+
}
829834
else if (opt->name=="width")
830835
{
831836
m_t << " width=\"" << opt->value << "\"";

0 commit comments

Comments
 (0)