[LyX/master] InsetTabular LyXHTML: fix wrong escape.

Thibaut Cuvelier tcuvelier at lyx.org
Tue Jan 10 22:37:02 UTC 2023


commit fb70f89983c8ca3d263ce6e73f058c3fb2f41c8f
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Wed Jan 11 00:26:28 2023 +0100

    InsetTabular LyXHTML: fix wrong escape.
---
 src/insets/InsetTabular.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
index 1ec96da..163f162 100644
--- a/src/insets/InsetTabular.cpp
+++ b/src/insets/InsetTabular.cpp
@@ -3677,7 +3677,7 @@ std::string Tabular::getHAlignAsCssAttribute(idx_type cell) const
 		// experimental.
 		// https://www.w3.org/TR/css-text-4/#character-alignment
 		Language const *lang = buffer().paragraphs().front().getParLanguage(buffer().params());
-		return "text-align: '" + to_utf8(lang->decimalSeparator()) + "'";
+		return "text-align: \"" + to_utf8(lang->decimalSeparator()) + "\"";
 	}
 	default:
 		return "text-align: center";


More information about the lyx-cvs mailing list