Redmine #3116 example comment bugfix

This commit is contained in:
mbombek 2025-05-21 17:00:56 +02:00
parent 9e98ca4a6c
commit 1e9969c94b

View File

@ -171,7 +171,7 @@ def get_max_id(root):
def create_xml_structure(syntactic_structure):
structure_element = lxml.Element('syntactic_structure')
structure_element.set('tempId', str(syntactic_structure.id))
comment = lxml.Comment(' example: ' + syntactic_structure.example)
comment = lxml.Comment(' example: ' + syntactic_structure.example + ' ')
structure_element.append(comment)
structure_element.set('type', 'other')
components = lxml.SubElement(structure_element, 'components')