InsetTabular LyXHTML: fix wrong escape.

This commit is contained in:
Thibaut Cuvelier 2023-01-11 00:26:28 +01:00
parent 65a9a2ac11
commit fb70f89983

View File

@ -3677,7 +3677,7 @@ std::string Tabular::getHAlignAsCssAttribute(idx_type cell) const
// experimental. // experimental.
// https://www.w3.org/TR/css-text-4/#character-alignment // https://www.w3.org/TR/css-text-4/#character-alignment
Language const *lang = buffer().paragraphs().front().getParLanguage(buffer().params()); Language const *lang = buffer().paragraphs().front().getParLanguage(buffer().params());
return "text-align: '" + to_utf8(lang->decimalSeparator()) + "'"; return "text-align: \"" + to_utf8(lang->decimalSeparator()) + "\"";
} }
default: default:
return "text-align: center"; return "text-align: center";