suggested by  Crzyrndm
This commit is contained in:
sukoi26 2018-07-10 09:32:34 +02:00 committed by GitHub
parent 99f20a014a
commit 28a71572cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -864,11 +864,7 @@ void xlsx_producer::write_shared_string_table(const relationship & /*rel*/)
{
write_start_element(xmlns, "si");
write_start_element(xmlns, "t");
if (string.runs().front().preserve_space)
{
write_attribute(xml::qname(xmlns_xml, "space"), "preserve");
}
write_characters(string.plain_text());
write_characters(string.plain_text(),string.runs().front().preserve_space);
write_end_element(xmlns, "t");
write_end_element(xmlns, "si");