[LyX/master] DocBook: spurious spaces in table attributes.

Thibaut Cuvelier tcuvelier at lyx.org
Wed Feb 17 22:22:02 UTC 2021


commit da92c9a950b370c1b6297e37abc497882066fba9
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Wed Feb 17 23:25:41 2021 +0100

    DocBook: spurious spaces in table attributes.
---
 src/insets/InsetTabular.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
index 64a4bc4..87bfe6f 100644
--- a/src/insets/InsetTabular.cpp
+++ b/src/insets/InsetTabular.cpp
@@ -3569,7 +3569,7 @@ void Tabular::docbookRowAsHTML(XMLStream & xs, row_type row,
 		Length const cwidth = column_info[c].p_width;
 		if (!cwidth.zero()) {
 			string const hwidth = cwidth.asHTMLString();
-			attr << "style =\"width: " << hwidth << ";\" ";
+			attr << "style=\"width: " << hwidth << ";\" ";
 		}
 
 		attr << "align='";
@@ -3805,7 +3805,7 @@ docstring Tabular::xhtmlRow(XMLStream & xs, row_type row,
 		Length const cwidth = column_info[c].p_width;
 		if (!cwidth.zero()) {
 			string const hwidth = cwidth.asHTMLString();
-			attr << "style =\"width: " << hwidth << ";\" ";
+			attr << "style=\"width: " << hwidth << ";\" ";
 		}
 
 		attr << "align='";


More information about the lyx-cvs mailing list