Output column width info for XHTML.

(cherry picked from commit ddc28f0374)
This commit is contained in:
Richard Heck 2016-06-29 21:47:51 -04:00
parent 88f6da78af
commit 63f6ee213c
2 changed files with 9 additions and 0 deletions

View File

@ -2988,6 +2988,13 @@ docstring Tabular::xhtmlRow(XHTMLStream & xs, row_type row,
continue;
stringstream attr;
Length const cwidth = column_info[c].p_width;
if (!cwidth.zero()) {
string const hwidth = cwidth.asHTMLString();
attr << "style =\"width: " << hwidth << ";\" ";
}
attr << "align='";
switch (getAlignment(cell)) {
case LYX_ALIGN_LEFT:

View File

@ -165,6 +165,8 @@ What's new
* LYXHTML
- Output width of table columns (bug 8168).
- Fix output of math sizes (bug 10129).