element-editor: remove leading and trailing whitespace from author-info

This commit is contained in:
plc-user
2025-02-09 12:43:35 +01:00
parent 1fc33aa1ba
commit a20d02f5f0

View File

@@ -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");