DocBook: spurious spaces in table attributes.

This commit is contained in:
Thibaut Cuvelier 2021-02-17 23:25:41 +01:00
parent bfa67b1f88
commit da92c9a950

View File

@ -3569,7 +3569,7 @@ void Tabular::docbookRowAsHTML(XMLStream & xs, row_type row,
Length const cwidth = column_info[c].p_width; Length const cwidth = column_info[c].p_width;
if (!cwidth.zero()) { if (!cwidth.zero()) {
string const hwidth = cwidth.asHTMLString(); string const hwidth = cwidth.asHTMLString();
attr << "style =\"width: " << hwidth << ";\" "; attr << "style=\"width: " << hwidth << ";\" ";
} }
attr << "align='"; attr << "align='";
@ -3805,7 +3805,7 @@ docstring Tabular::xhtmlRow(XMLStream & xs, row_type row,
Length const cwidth = column_info[c].p_width; Length const cwidth = column_info[c].p_width;
if (!cwidth.zero()) { if (!cwidth.zero()) {
string const hwidth = cwidth.asHTMLString(); string const hwidth = cwidth.asHTMLString();
attr << "style =\"width: " << hwidth << ";\" "; attr << "style=\"width: " << hwidth << ";\" ";
} }
attr << "align='"; attr << "align='";