diff --git a/sources/editor/elementscene.cpp b/sources/editor/elementscene.cpp index 86443a38b..31ab33a75 100644 --- a/sources/editor/elementscene.cpp +++ b/sources/editor/elementscene.cpp @@ -482,7 +482,7 @@ const QDomDocument ElementScene::toXml(bool all_parts) //complementary information about the element QDomElement informations_element = xml_document.createElement("informations"); root.appendChild(informations_element); - informations_element.appendChild(xml_document.createTextNode(m_element_data.m_drawing_information)); + informations_element.appendChild(xml_document.createTextNode(m_element_data.m_drawing_information.trimmed())); QDomElement description = xml_document.createElement("description");