mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 08:40:53 +01:00
element-editor: remove leading and trailing whitespace from author-info
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user